Last header null not new, headerSize: 3, channelId 24

classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Last header null not new, headerSize: 3, channelId 24

Juan Diego
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Chris Allen
Hi Juan,

Which version of Red5 are you running? 

-Chris

On Mar 22, 2016, at 7:37 PM, Juan Diego <[hidden email]> wrote:

Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Juan Diego
I compiled it from github it is red5-1.0.7 snapshot

On Wed, Mar 23, 2016 at 10:12 AM, Chris Allen <[hidden email]> wrote:
Hi Juan,

Which version of Red5 are you running? 

-Chris

On Mar 22, 2016, at 7:37 PM, Juan Diego <[hidden email]> wrote:

Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Andy Shaules-2
We have a fix in the pipeline I believe.

On 3/23/2016 10:21 AM, Juan Diego wrote:
I compiled it from github it is red5-1.0.7 snapshot

On Wed, Mar 23, 2016 at 10:12 AM, Chris Allen <[hidden email]> wrote:
Hi Juan,

Which version of Red5 are you running? 

-Chris

On Mar 22, 2016, at 7:37 PM, Juan Diego <[hidden email]> wrote:

Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Chris Allen
Yup, Andy beat me to it. I know he’s working on that very class (RTMPProtocolDecoder) right now. It just needs Paul’s review before it’s committed. 

On Mar 23, 2016, at 3:35 PM, Andy Shaules <[hidden email]> wrote:

We have a fix in the pipeline I believe.

On 3/23/2016 10:21 AM, Juan Diego wrote:
I compiled it from github it is red5-1.0.7 snapshot

On Wed, Mar 23, 2016 at 10:12 AM, Chris Allen <[hidden email]> wrote:
Hi Juan,

Which version of Red5 are you running? 

-Chris

On Mar 22, 2016, at 7:37 PM, Juan Diego <[hidden email]> wrote:

Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email][hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.


--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Jon Webb
In reply to this post by Juan Diego
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Mondain
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Jon Webb
If there's anything I can do to make this go away, or get more info, please let me know. 
The switch to NellyMoser 22K is definitely causing this problem, and was causing it in previous releases. Perhaps Flash Player is screwing up the protocol--maybe there's a problem that only appears at the higher bitrate. But I wonder if there's a way to get the server to handle the problem more gracefully, and not close the connection. From the code it appears that I can turn closeOnHeaderError off but I can't quite see how to do that. I put
    <bean id="rtmpProtocolDecoder" class="org.red5.server.net.rtmp.codec.RTMPProtocolDecoder">
        <property name="closeOnHeaderError" value="false" />
    </bean>
in red5-core.xml but that doesn't seem to have any effect.
-- Jon

On Fri, Jul 8, 2016 at 10:37 AM Mondain <[hidden email]> wrote:
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Rajdeep Rath

Hi there , just catching up in this. So how can I reproduce this.  Can you point out the steps for me ?

Regards
Rajdeep Rath

On Jul 8, 2016 8:19 PM, "Jon Webb" <[hidden email]> wrote:
If there's anything I can do to make this go away, or get more info, please let me know. 
The switch to NellyMoser 22K is definitely causing this problem, and was causing it in previous releases. Perhaps Flash Player is screwing up the protocol--maybe there's a problem that only appears at the higher bitrate. But I wonder if there's a way to get the server to handle the problem more gracefully, and not close the connection. From the code it appears that I can turn closeOnHeaderError off but I can't quite see how to do that. I put
    <bean id="rtmpProtocolDecoder" class="org.red5.server.net.rtmp.codec.RTMPProtocolDecoder">
        <property name="closeOnHeaderError" value="false" />
    </bean>
in red5-core.xml but that doesn't seem to have any effect.
-- Jon

On Fri, Jul 8, 2016 at 10:37 AM Mondain <[hidden email]> wrote:
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Jon Webb
I don't think it would be easy to do. My client is part of a larger audioconferencing system and switches to the NellyMoser 22K codec under certain conditions. That's when the problem occurs. Perhaps I can get you some logs, or somehow get you access to my server -- please let me know. -- Jon 

On Fri, Jul 8, 2016 at 10:51 AM Rajdeep Rath <[hidden email]> wrote:

Hi there , just catching up in this. So how can I reproduce this.  Can you point out the steps for me ?

Regards


Rajdeep Rath

On Jul 8, 2016 8:19 PM, "Jon Webb" <[hidden email]> wrote:
If there's anything I can do to make this go away, or get more info, please let me know. 
The switch to NellyMoser 22K is definitely causing this problem, and was causing it in previous releases. Perhaps Flash Player is screwing up the protocol--maybe there's a problem that only appears at the higher bitrate. But I wonder if there's a way to get the server to handle the problem more gracefully, and not close the connection. From the code it appears that I can turn closeOnHeaderError off but I can't quite see how to do that. I put
    <bean id="rtmpProtocolDecoder" class="org.red5.server.net.rtmp.codec.RTMPProtocolDecoder">
        <property name="closeOnHeaderError" value="false" />
    </bean>
in red5-core.xml but that doesn't seem to have any effect.
-- Jon

On Fri, Jul 8, 2016 at 10:37 AM Mondain <[hidden email]> wrote:
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Rajdeep Rath

Could I perhaps reproduce it if I get a flash encoder to publish audio stream with 22 or 44 setting to red5 ?

On Jul 8, 2016 8:27 PM, "Jon Webb" <[hidden email]> wrote:
I don't think it would be easy to do. My client is part of a larger audioconferencing system and switches to the NellyMoser 22K codec under certain conditions. That's when the problem occurs. Perhaps I can get you some logs, or somehow get you access to my server -- please let me know. -- Jon 

On Fri, Jul 8, 2016 at 10:51 AM Rajdeep Rath <[hidden email]> wrote:

Hi there , just catching up in this. So how can I reproduce this.  Can you point out the steps for me ?

Regards


Rajdeep Rath

On Jul 8, 2016 8:19 PM, "Jon Webb" <[hidden email]> wrote:
If there's anything I can do to make this go away, or get more info, please let me know. 
The switch to NellyMoser 22K is definitely causing this problem, and was causing it in previous releases. Perhaps Flash Player is screwing up the protocol--maybe there's a problem that only appears at the higher bitrate. But I wonder if there's a way to get the server to handle the problem more gracefully, and not close the connection. From the code it appears that I can turn closeOnHeaderError off but I can't quite see how to do that. I put
    <bean id="rtmpProtocolDecoder" class="org.red5.server.net.rtmp.codec.RTMPProtocolDecoder">
        <property name="closeOnHeaderError" value="false" />
    </bean>
in red5-core.xml but that doesn't seem to have any effect.
-- Jon

On Fri, Jul 8, 2016 at 10:37 AM Mondain <[hidden email]> wrote:
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Jon Webb
In reply to this post by Jon Webb
I can also get Wireshark logs if that would help. - Jon 

On Fri, Jul 8, 2016 at 10:57 AM Jon Webb <[hidden email]> wrote:
I don't think it would be easy to do. My client is part of a larger audioconferencing system and switches to the NellyMoser 22K codec under certain conditions. That's when the problem occurs. Perhaps I can get you some logs, or somehow get you access to my server -- please let me know. -- Jon 

On Fri, Jul 8, 2016 at 10:51 AM Rajdeep Rath <[hidden email]> wrote:

Hi there , just catching up in this. So how can I reproduce this.  Can you point out the steps for me ?

Regards


Rajdeep Rath

On Jul 8, 2016 8:19 PM, "Jon Webb" <[hidden email]> wrote:
If there's anything I can do to make this go away, or get more info, please let me know. 
The switch to NellyMoser 22K is definitely causing this problem, and was causing it in previous releases. Perhaps Flash Player is screwing up the protocol--maybe there's a problem that only appears at the higher bitrate. But I wonder if there's a way to get the server to handle the problem more gracefully, and not close the connection. From the code it appears that I can turn closeOnHeaderError off but I can't quite see how to do that. I put
    <bean id="rtmpProtocolDecoder" class="org.red5.server.net.rtmp.codec.RTMPProtocolDecoder">
        <property name="closeOnHeaderError" value="false" />
    </bean>
in red5-core.xml but that doesn't seem to have any effect.
-- Jon

On Fri, Jul 8, 2016 at 10:37 AM Mondain <[hidden email]> wrote:
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Rajdeep Rath

A switch would normally not cause any issues unless there was something different with the audio settings.

So is you issue with publishing stream or subscribing ?

On Jul 8, 2016 8:28 PM, "Jon Webb" <[hidden email]> wrote:
I can also get Wireshark logs if that would help. - Jon 

On Fri, Jul 8, 2016 at 10:57 AM Jon Webb <[hidden email]> wrote:
I don't think it would be easy to do. My client is part of a larger audioconferencing system and switches to the NellyMoser 22K codec under certain conditions. That's when the problem occurs. Perhaps I can get you some logs, or somehow get you access to my server -- please let me know. -- Jon 

On Fri, Jul 8, 2016 at 10:51 AM Rajdeep Rath <[hidden email]> wrote:

Hi there , just catching up in this. So how can I reproduce this.  Can you point out the steps for me ?

Regards


Rajdeep Rath

On Jul 8, 2016 8:19 PM, "Jon Webb" <[hidden email]> wrote:
If there's anything I can do to make this go away, or get more info, please let me know. 
The switch to NellyMoser 22K is definitely causing this problem, and was causing it in previous releases. Perhaps Flash Player is screwing up the protocol--maybe there's a problem that only appears at the higher bitrate. But I wonder if there's a way to get the server to handle the problem more gracefully, and not close the connection. From the code it appears that I can turn closeOnHeaderError off but I can't quite see how to do that. I put
    <bean id="rtmpProtocolDecoder" class="org.red5.server.net.rtmp.codec.RTMPProtocolDecoder">
        <property name="closeOnHeaderError" value="false" />
    </bean>
in red5-core.xml but that doesn't seem to have any effect.
-- Jon

On Fri, Jul 8, 2016 at 10:37 AM Mondain <[hidden email]> wrote:
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Jon Webb
Publishing, definitely. Flash Player is capturing audio using NellyMoser 22K. The problem occurs when the first audio is sent.
I suppose the same thing might happen with Flash Encoder @ 22K.
-- Jon 

On Fri, Jul 8, 2016 at 11:00 AM Rajdeep Rath <[hidden email]> wrote:

A switch would normally not cause any issues unless there was something different with the audio settings.

So is you issue with publishing stream or subscribing ?

On Jul 8, 2016 8:28 PM, "Jon Webb" <[hidden email]> wrote:
I can also get Wireshark logs if that would help. - Jon 

On Fri, Jul 8, 2016 at 10:57 AM Jon Webb <[hidden email]> wrote:
I don't think it would be easy to do. My client is part of a larger audioconferencing system and switches to the NellyMoser 22K codec under certain conditions. That's when the problem occurs. Perhaps I can get you some logs, or somehow get you access to my server -- please let me know. -- Jon 

On Fri, Jul 8, 2016 at 10:51 AM Rajdeep Rath <[hidden email]> wrote:

Hi there , just catching up in this. So how can I reproduce this.  Can you point out the steps for me ?

Regards


Rajdeep Rath

On Jul 8, 2016 8:19 PM, "Jon Webb" <[hidden email]> wrote:
If there's anything I can do to make this go away, or get more info, please let me know. 
The switch to NellyMoser 22K is definitely causing this problem, and was causing it in previous releases. Perhaps Flash Player is screwing up the protocol--maybe there's a problem that only appears at the higher bitrate. But I wonder if there's a way to get the server to handle the problem more gracefully, and not close the connection. From the code it appears that I can turn closeOnHeaderError off but I can't quite see how to do that. I put
    <bean id="rtmpProtocolDecoder" class="org.red5.server.net.rtmp.codec.RTMPProtocolDecoder">
        <property name="closeOnHeaderError" value="false" />
    </bean>
in red5-core.xml but that doesn't seem to have any effect.
-- Jon

On Fri, Jul 8, 2016 at 10:37 AM Mondain <[hidden email]> wrote:
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Rajdeep Rath
Nope i could not reproduce that issue using 1.0.7 and NellyMoser 22. Here is the encoder i tried, you can try yourself.
http://wmle.flashvisions.com/

On Fri, Jul 8, 2016 at 8:33 PM, Jon Webb <[hidden email]> wrote:
Publishing, definitely. Flash Player is capturing audio using NellyMoser 22K. The problem occurs when the first audio is sent.
I suppose the same thing might happen with Flash Encoder @ 22K.
-- Jon 

On Fri, Jul 8, 2016 at 11:00 AM Rajdeep Rath <[hidden email]> wrote:

A switch would normally not cause any issues unless there was something different with the audio settings.

So is you issue with publishing stream or subscribing ?

On Jul 8, 2016 8:28 PM, "Jon Webb" <[hidden email]> wrote:
I can also get Wireshark logs if that would help. - Jon 

On Fri, Jul 8, 2016 at 10:57 AM Jon Webb <[hidden email]> wrote:
I don't think it would be easy to do. My client is part of a larger audioconferencing system and switches to the NellyMoser 22K codec under certain conditions. That's when the problem occurs. Perhaps I can get you some logs, or somehow get you access to my server -- please let me know. -- Jon 

On Fri, Jul 8, 2016 at 10:51 AM Rajdeep Rath <[hidden email]> wrote:

Hi there , just catching up in this. So how can I reproduce this.  Can you point out the steps for me ?

Regards


Rajdeep Rath

On Jul 8, 2016 8:19 PM, "Jon Webb" <[hidden email]> wrote:
If there's anything I can do to make this go away, or get more info, please let me know. 
The switch to NellyMoser 22K is definitely causing this problem, and was causing it in previous releases. Perhaps Flash Player is screwing up the protocol--maybe there's a problem that only appears at the higher bitrate. But I wonder if there's a way to get the server to handle the problem more gracefully, and not close the connection. From the code it appears that I can turn closeOnHeaderError off but I can't quite see how to do that. I put
    <bean id="rtmpProtocolDecoder" class="org.red5.server.net.rtmp.codec.RTMPProtocolDecoder">
        <property name="closeOnHeaderError" value="false" />
    </bean>
in red5-core.xml but that doesn't seem to have any effect.
-- Jon

On Fri, Jul 8, 2016 at 10:37 AM Mondain <[hidden email]> wrote:
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Jon Webb
Well, as I said, it happens with Flash Player. Using another encoder isn't an option for me. -- Jon 

On Fri, Jul 8, 2016 at 11:09 AM Rajdeep Rath <[hidden email]> wrote:
Nope i could not reproduce that issue using 1.0.7 and NellyMoser 22. Here is the encoder i tried, you can try yourself.
http://wmle.flashvisions.com/

On Fri, Jul 8, 2016 at 8:33 PM, Jon Webb <[hidden email]> wrote:
Publishing, definitely. Flash Player is capturing audio using NellyMoser 22K. The problem occurs when the first audio is sent.
I suppose the same thing might happen with Flash Encoder @ 22K.
-- Jon 

On Fri, Jul 8, 2016 at 11:00 AM Rajdeep Rath <[hidden email]> wrote:

A switch would normally not cause any issues unless there was something different with the audio settings.

So is you issue with publishing stream or subscribing ?

On Jul 8, 2016 8:28 PM, "Jon Webb" <[hidden email]> wrote:
I can also get Wireshark logs if that would help. - Jon 

On Fri, Jul 8, 2016 at 10:57 AM Jon Webb <[hidden email]> wrote:
I don't think it would be easy to do. My client is part of a larger audioconferencing system and switches to the NellyMoser 22K codec under certain conditions. That's when the problem occurs. Perhaps I can get you some logs, or somehow get you access to my server -- please let me know. -- Jon 

On Fri, Jul 8, 2016 at 10:51 AM Rajdeep Rath <[hidden email]> wrote:

Hi there , just catching up in this. So how can I reproduce this.  Can you point out the steps for me ?

Regards


Rajdeep Rath

On Jul 8, 2016 8:19 PM, "Jon Webb" <[hidden email]> wrote:
If there's anything I can do to make this go away, or get more info, please let me know. 
The switch to NellyMoser 22K is definitely causing this problem, and was causing it in previous releases. Perhaps Flash Player is screwing up the protocol--maybe there's a problem that only appears at the higher bitrate. But I wonder if there's a way to get the server to handle the problem more gracefully, and not close the connection. From the code it appears that I can turn closeOnHeaderError off but I can't quite see how to do that. I put
    <bean id="rtmpProtocolDecoder" class="org.red5.server.net.rtmp.codec.RTMPProtocolDecoder">
        <property name="closeOnHeaderError" value="false" />
    </bean>
in red5-core.xml but that doesn't seem to have any effect.
-- Jon

On Fri, Jul 8, 2016 at 10:37 AM Mondain <[hidden email]> wrote:
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Rajdeep Rath

That is a flash player encoder with a built in flash player viewer. As you can see there are no issues using that with red5. So the issue must be elsewhere.

I also tried adobe flash media live encoder with nellymoser 22 and 44. There were no issues. Stream was smooth.

On Jul 8, 2016 8:42 PM, "Jon Webb" <[hidden email]> wrote:
Well, as I said, it happens with Flash Player. Using another encoder isn't an option for me. -- Jon 

On Fri, Jul 8, 2016 at 11:09 AM Rajdeep Rath <[hidden email]> wrote:
Nope i could not reproduce that issue using 1.0.7 and NellyMoser 22. Here is the encoder i tried, you can try yourself.
http://wmle.flashvisions.com/

On Fri, Jul 8, 2016 at 8:33 PM, Jon Webb <[hidden email]> wrote:
Publishing, definitely. Flash Player is capturing audio using NellyMoser 22K. The problem occurs when the first audio is sent.
I suppose the same thing might happen with Flash Encoder @ 22K.
-- Jon 

On Fri, Jul 8, 2016 at 11:00 AM Rajdeep Rath <[hidden email]> wrote:

A switch would normally not cause any issues unless there was something different with the audio settings.

So is you issue with publishing stream or subscribing ?

On Jul 8, 2016 8:28 PM, "Jon Webb" <[hidden email]> wrote:
I can also get Wireshark logs if that would help. - Jon 

On Fri, Jul 8, 2016 at 10:57 AM Jon Webb <[hidden email]> wrote:
I don't think it would be easy to do. My client is part of a larger audioconferencing system and switches to the NellyMoser 22K codec under certain conditions. That's when the problem occurs. Perhaps I can get you some logs, or somehow get you access to my server -- please let me know. -- Jon 

On Fri, Jul 8, 2016 at 10:51 AM Rajdeep Rath <[hidden email]> wrote:

Hi there , just catching up in this. So how can I reproduce this.  Can you point out the steps for me ?

Regards


Rajdeep Rath

On Jul 8, 2016 8:19 PM, "Jon Webb" <[hidden email]> wrote:
If there's anything I can do to make this go away, or get more info, please let me know. 
The switch to NellyMoser 22K is definitely causing this problem, and was causing it in previous releases. Perhaps Flash Player is screwing up the protocol--maybe there's a problem that only appears at the higher bitrate. But I wonder if there's a way to get the server to handle the problem more gracefully, and not close the connection. From the code it appears that I can turn closeOnHeaderError off but I can't quite see how to do that. I put
    <bean id="rtmpProtocolDecoder" class="org.red5.server.net.rtmp.codec.RTMPProtocolDecoder">
        <property name="closeOnHeaderError" value="false" />
    </bean>
in red5-core.xml but that doesn't seem to have any effect.
-- Jon

On Fri, Jul 8, 2016 at 10:37 AM Mondain <[hidden email]> wrote:
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Jon Webb
I assure you that the problem I'm seeing does happen with Flash Player. I'm not even sure how it would be possible for me to capture audio using Flash Player and have the problem with RTMPProtocolDecoder create an issue "elsewhere." The problem is with Red5 1.0.7 and FlashPlayer, connecting over RTMP.
Did you test repeatedly? This is an intermittent problem; sometimes my client connects OK, sometimes it does not. It always works with NellyMoser 11K. And once the stream is established, at any bitrate, everything is OK.
-- Jon

On Fri, Jul 8, 2016 at 11:19 AM Rajdeep Rath <[hidden email]> wrote:

That is a flash player encoder with a built in flash player viewer. As you can see there are no issues using that with red5. So the issue must be elsewhere.

I also tried adobe flash media live encoder with nellymoser 22 and 44. There were no issues. Stream was smooth.

On Jul 8, 2016 8:42 PM, "Jon Webb" <[hidden email]> wrote:
Well, as I said, it happens with Flash Player. Using another encoder isn't an option for me. -- Jon 

On Fri, Jul 8, 2016 at 11:09 AM Rajdeep Rath <[hidden email]> wrote:
Nope i could not reproduce that issue using 1.0.7 and NellyMoser 22. Here is the encoder i tried, you can try yourself.
http://wmle.flashvisions.com/

On Fri, Jul 8, 2016 at 8:33 PM, Jon Webb <[hidden email]> wrote:
Publishing, definitely. Flash Player is capturing audio using NellyMoser 22K. The problem occurs when the first audio is sent.
I suppose the same thing might happen with Flash Encoder @ 22K.
-- Jon 

On Fri, Jul 8, 2016 at 11:00 AM Rajdeep Rath <[hidden email]> wrote:

A switch would normally not cause any issues unless there was something different with the audio settings.

So is you issue with publishing stream or subscribing ?

On Jul 8, 2016 8:28 PM, "Jon Webb" <[hidden email]> wrote:
I can also get Wireshark logs if that would help. - Jon 

On Fri, Jul 8, 2016 at 10:57 AM Jon Webb <[hidden email]> wrote:
I don't think it would be easy to do. My client is part of a larger audioconferencing system and switches to the NellyMoser 22K codec under certain conditions. That's when the problem occurs. Perhaps I can get you some logs, or somehow get you access to my server -- please let me know. -- Jon 

On Fri, Jul 8, 2016 at 10:51 AM Rajdeep Rath <[hidden email]> wrote:

Hi there , just catching up in this. So how can I reproduce this.  Can you point out the steps for me ?

Regards


Rajdeep Rath

On Jul 8, 2016 8:19 PM, "Jon Webb" <[hidden email]> wrote:
If there's anything I can do to make this go away, or get more info, please let me know. 
The switch to NellyMoser 22K is definitely causing this problem, and was causing it in previous releases. Perhaps Flash Player is screwing up the protocol--maybe there's a problem that only appears at the higher bitrate. But I wonder if there's a way to get the server to handle the problem more gracefully, and not close the connection. From the code it appears that I can turn closeOnHeaderError off but I can't quite see how to do that. I put
    <bean id="rtmpProtocolDecoder" class="org.red5.server.net.rtmp.codec.RTMPProtocolDecoder">
        <property name="closeOnHeaderError" value="false" />
    </bean>
in red5-core.xml but that doesn't seem to have any effect.
-- Jon

On Fri, Jul 8, 2016 at 10:37 AM Mondain <[hidden email]> wrote:
On the surface it looks like chunking isn't working correctly with Red5-Client, or is this a mixed log section? In general, codecs and their settings should not matter at-all to the server itself, since it doesn't decode the audio or video content.

Paul

On Fri, Jul 8, 2016 at 10:32 AM Jon Webb <[hidden email]> wrote:
I'm still seeing this error with Flash Player when I try to connect an audio source using NellyMoser 22K (not with lower bitrate NellyMoser -- it happens when the client first starts to send audio). The decoder encounters a protocol error, connection is closed, and the client has to reconnect. This can repeat. Below is a partial log. I'm running the released Red5 1.0.7.

2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (139,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (419,883)
2016-07-08 10:20:36,354 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (95,883)
2016-07-08 10:20:36,855 [NioProcessor-21] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Decoded chunk size: 257
2016-07-08 10:20:36,855 [NioProcessor-57] INFO  o.r.c.n.rtmp.BaseRTMPClientHandler - ChunkSize is not fully implemented: ChunkSize: 257
2016-07-08 10:20:36,886 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (878,1024)
2016-07-08 10:20:36,906 [NioProcessor-8] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_SAME_SOURCE, channelId 21

Any ideas?
-- Jon Webb

On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/57Ou37LfMjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Jon Webb
In reply to this post by Juan Diego
A bit more on this. I think I managed to get closeOnHeaderError turned off. Now I'm getting an error in BaseRTMPHandler:

2016-07-08 12:08:04,124 [NioProcessor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (255,883)

2016-07-08 12:08:04,133 [NioProcessor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (895,1024)

2016-07-08 12:08:04,133 [NioProcessor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_CONTINUE, channelId 63

2016-07-08 12:08:04,283 [NioProcessor-77] WARN  o.r.c.net.rtmp.RTMPMinaIoHandler - Exception caught null

2016-07-08 12:08:04,284 [NioProcessor-2] WARN  o.r.s.n.r.codec.RTMPProtocolDecoder - Unknown object type: -1

2016-07-08 12:08:04,288 [Thread-58] WARN  o.r.c.n.rtmp.BaseRTMPClientHandler - Stream data not found for stream id: 1.0

2016-07-08 12:08:04,290 [NioProcessor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_CONTINUE, channelId 63

2016-07-08 12:08:04,292 [RTMPConnectionExecutor-4] INFO  o.r.server.net.rtmp.BaseRTMPHandler - Message type unknown: Size: 256 Data:

00 00 00 00 01 00 02 00 01 00 01 00 00 00 00 00 FF FF FF FF 
FE FF FF FF FF FF 00 00 00 00 00 00 00 00 FF FF 00 00 00 00 
01 00 01 00 00 00 00 00 00 00 00 00 01 00 02 00 00 00 00 00 
00 00 FF FF 00 00 00 00 01 00 01 00 00 00 00 00 00 00 00 00 
01 00 02 00 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00 C6 
00 FF FF 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 02 00 01 
00 00 00 00 00 01 00 02 00 01 00 01 00 00 00 00 00 FF FF FF 
FF FE FF FF FF FF FF 00 00 00 00 01 00 01 00 02 00 01 00 00 
00 00 00 00 00 00 00 00 00 01 00 02 00 01 00 01 00 01 00 01 
00 00 00 00 00 00 00 FF FF FF FF 00 00 01 00 01 00 01 00 00 
00 FE FF FE FF FF FF 00 00 00 00 00 00 00 00 00



On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Last header null not new, headerSize: 3, channelId 24

Jon Webb
I'm thinking this problem may be related to capturing from a live microphone. I'm guessing that your test setup is streaming from recorded content.
If I create a client that demonstrates the problem with a live microphone, will you take a look at the problem?
I would really like some help here.
-- Jon Webb

On Friday, July 8, 2016 at 12:15:01 PM UTC-4, Jon Webb wrote:
A bit more on this. I think I managed to get closeOnHeaderError turned off. Now I'm getting an error in BaseRTMPHandler:

2016-07-08 12:08:04,124 [NioProcessor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (255,883)

2016-07-08 12:08:04,133 [NioProcessor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (895,1024)

2016-07-08 12:08:04,133 [NioProcessor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_CONTINUE, channelId 63

2016-07-08 12:08:04,283 [NioProcessor-77] WARN  o.r.c.net.rtmp.RTMPMinaIoHandler - Exception caught null

2016-07-08 12:08:04,284 [NioProcessor-2] WARN  o.r.s.n.r.codec.RTMPProtocolDecoder - Unknown object type: -1

2016-07-08 12:08:04,288 [Thread-58] WARN  o.r.c.n.rtmp.BaseRTMPClientHandler - Stream data not found for stream id: 1.0

2016-07-08 12:08:04,290 [NioProcessor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null: HEADER_CONTINUE, channelId 63

2016-07-08 12:08:04,292 [RTMPConnectionExecutor-4] INFO  o.r.server.net.rtmp.BaseRTMPHandler - Message type unknown: Size: 256 Data:

00 00 00 00 01 00 02 00 01 00 01 00 00 00 00 00 FF FF FF FF 
FE FF FF FF FF FF 00 00 00 00 00 00 00 00 FF FF 00 00 00 00 
01 00 01 00 00 00 00 00 00 00 00 00 01 00 02 00 00 00 00 00 
00 00 FF FF 00 00 00 00 01 00 01 00 00 00 00 00 00 00 00 00 
01 00 02 00 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00 C6 
00 FF FF 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 02 00 01 
00 00 00 00 00 01 00 02 00 01 00 01 00 00 00 00 00 FF FF FF 
FF FE FF FF FF FF FF 00 00 00 00 01 00 01 00 02 00 01 00 00 
00 00 00 00 00 00 00 00 00 01 00 02 00 01 00 01 00 01 00 01 
00 00 00 00 00 00 00 FF FF FF FF 00 00 01 00 01 00 01 00 00 
00 FE FF FE FF FF FF 00 00 00 00 00 00 00 00 00



On Tuesday, March 22, 2016 at 7:37:51 PM UTC-4, Juan Diego wrote:
Hi I am running red5 over wildfly 9 and it seems to work right, but I am having a problem with oflaDemo, movies last from 60 to 90 seconds and then it crashes and i loose connection via rtmp and I get this error.  I tried the same movies on the same machine with a red5 server and they work fine.  I am probably no loading something on one of the xml files.

18:34:15,769 ERROR [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Last header null not new, headerSize: 3, channelId 24
18:34:15,770 WARN  [org.red5.server.net.rtmp.codec.RTMPProtocolDecoder] (NioProcessor-2) Closing connection because decoding failed: RTMPMinaConnection from 127.0.0.1 (in: 4167 out: 14011564) session: S8BRPXKETWFRP state: connected: org.red5.server.net.protocol.ProtocolException: Header is null, check for error
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:291)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:182)
    at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:122)
    at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:85)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:179)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
12