View Single Post
  #1  
Old 07-21-2014, 11:36 AM
pandahack pandahack is offline
Junior Member
 
Join Date: Jul 2014
Posts: 1
pandahack is on a distinguished road
Default

Rtmpdump reconnects..


Hi to all.
i have a project with raspberry devide, and rtmpdump + omxplayer, mplayer or other player application.

My live stream comes from a signal switich, and make a reconnect by each change of source.. that is.. when source change from camera 1 to camera 2, the stream stop and reconnect after 1 second..
this is so and I can't change it,

Then, in my player device (rasp + rtmpdump + omxplayer) have a problem with this disconnections..
i have a script in bash, that see for omxplayer process pid, and if no exist, stop rtmpdump and re run all process.. But it is very heavy for show in a TV..

is there any command (or options) in rtmpdump for dont disconnect to live stream until 10 seg of signal lost.. or something like that
Reply With Quote