-
-
Notifications
You must be signed in to change notification settings - Fork 985
Release Notes 1.0.7
Paul Gregoire edited this page Feb 10, 2016
·
1 revision
** WORK IN PROGRESS **
2016-02-04 18:40:34,643 [NioProcessor-2] WARN o.r.s.n.r.codec.RTMPProtocolDecoder - Closing connection because decoding failed: RTMPMinaConnection 127.0.0.1:45711 to localhost client: 0 session: NEZPK1VLLG1HC state: connected
org.red5.server.net.protocol.ProtocolException: Error during decoding
at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:198) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:116) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:71) [red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943) [mina-core-2.0.12.jar:na]
at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:175) [red5-server.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68) [mina-core-2.0.12.jar:na]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097) [mina-core-2.0.12.jar:na]
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.12.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_72]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_72]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
Caused by: java.nio.BufferUnderflowException: null
at java.nio.Buffer.nextGetIndex(Buffer.java:506) ~[na:1.8.0_72]
at java.nio.HeapByteBuffer.getShort(HeapByteBuffer.java:310) ~[na:1.8.0_72]
at org.apache.mina.core.buffer.AbstractIoBuffer.getShort(AbstractIoBuffer.java:768) ~[mina-core-2.0.12.jar:na]
at org.apache.mina.core.buffer.AbstractIoBuffer.getUnsignedShort(AbstractIoBuffer.java:1361) ~[mina-core-2.0.12.jar:na]
at org.red5.io.amf.Input.readString(Input.java:223) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
at org.red5.io.amf.Input.getString(Input.java:199) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
at org.red5.io.amf.Input.readPropertyName(Input.java:572) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
at org.red5.io.amf.Input.readKeyValues(Input.java:349) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
at org.red5.io.amf.Input.readSimpleObject(Input.java:505) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
at org.red5.io.amf.Input.readObject(Input.java:536) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
at org.red5.io.object.Deserializer.deserialize(Deserializer.java:97) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.handleParameters(RTMPProtocolDecoder.java:1092) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeInvoke(RTMPProtocolDecoder.java:808) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeMessage(RTMPProtocolDecoder.java:477) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:322) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:184) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
Remove minaEncoder and minaDecoder beans
<bean id="minaEncoder" class="org.red5.server.net.rtmp.codec.RTMPMinaProtocolEncoder" scope="prototype">
<property name="baseTolerance" value="${rtmp.encoder_base_tolerance}" />
<property name="dropLiveFuture" value="${rtmp.encoder_drop_live_future}" />
</bean>
<bean id="minaDecoder" class="org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder" scope="prototype" />
Remove the rtmpCodecFactory bean
<bean id="rtmpCodecFactory" class="org.red5.server.net.rtmp.codec.RTMPMinaCodecFactory" />
Remove this property from the rtmpMinaIoHandler bean
<property name="codecFactory" ref="rtmpCodecFactory" />
Remove these properties from the rtmpsMinaIoHandler bean
<property name="codecFactory" ref="rtmpCodecFactory" />
<property name="useClientMode" value="false" />
<property name="needClientAuth" value="false" />