Skip to content

Instantly share code, notes, and snippets.

@mondain
Created March 28, 2024 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mondain/6efe2ea54b9353afd4fcde563b542e74 to your computer and use it in GitHub Desktop.
Save mondain/6efe2ea54b9353afd4fcde563b542e74 to your computer and use it in GitHub Desktop.
Migration to Red5 1.3.32

In conf/red5-common.xml the MP3 and M4A entries must be removed to prevent startup exceptions, unless an MP3/M4A support jar is included in the classpath (Not yet available). Remove or comment out the following entries from the streamableFileFactory bean:

  <bean id="mp3FileService" class="org.red5.server.service.mp3.impl.MP3Service"/>
  <bean id="m4aFileService" class="org.red5.server.service.m4a.impl.M4AService"/>

Remove this entire bean entry:

  <!-- Use injection to set the keyframe cache for MP3 files -->
  <bean id="mp3reader.impl" class="org.red5.io.mp3.impl.MP3Reader">
      <property name="frameCache">
          <ref bean="keyframe.cache"/>
      </property>
  </bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment