View Single Post
  #8  
Old 01-22-2012, 02:37 AM
blousefet blousefet is offline
Junior Member
 
Join Date: Dec 2011
Posts: 11
blousefet is on a distinguished road
Default

Re: rtmpdump and "no frame" error


Hi everyone,

After the first day of tests, this workaround only suppresses the FCSubscribe error to the stream.

I managed to understand another thing using the debug info and it seems like it solves most of immediate "no frames" error. But, for some streams, I get AVC Nal errors which leads to the same case.

The other problem I noticed was linked to my previous observation. The stream was beginning before Play.

I discovered that NetStream.Play.Reset, for that FMS version, was leading to the stream being sent prior to NetStream.Play.Start. So I patched rtmp.c in librtmp like this :
... line 2325:
static const AVal av_NetStream_Play_Reset = AVC("NetStream.Play.Reset");

... line 2503:
else if (AVMATCH(&code, &av_NetStream_Play_Start)
|| AVMATCH(&code, &av_NetStream_Play_Reset)
|| AVMATCH(&code, &av_NetStream_Play_PublishNotify))


Now I've got to figure out why this damn streams have AVC Nal size errors... and the stream is playable for 1 to 3 sec.


Hope this helps those who have the same problems...

blousefet
Reply With Quote