After multiple interruptions avconv send to log messages like this:
RTMP_ReadPacket, failed to read RTMP packet header
rtmp://localhost:1935/<app_name>/<stream_name>: Invalid data found when processing input
avconv version 0.8.9-4:0.8.9-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Nov 9 2013 19:08:00 with gcc 4.6.3
After this restreaming to hls restranslator using exec stops completely (even if link become stable), while streaming to other retranslator works fine.
How can I fix or skip incorrect rtmp packets which comes to avconv using exec?
Skipping data is not a good idea. It will definitely introduce protocol inconsistency. Please make avconv verbose and find out what it the error. It would be good to watch nginx debug log as well.
I am streaming from AFMLE to nginx with rtmp module and restream video to hls retranslator using next config:
After multiple interruptions avconv send to log messages like this:
After this restreaming to hls restranslator using exec stops completely (even if link become stable), while streaming to other retranslator works fine. How can I fix or skip incorrect rtmp packets which comes to avconv using exec?
Thanks in advance.