Restart Streaming automatically
Posted: 04 Mar 2012 18:39
I am streaming a MMS to RTPS with following command:
:sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:8554/android.sdp} :sout-keep
2 problems:
1) if I create the stream from VLC this work ok, but if I create by command line this work fine but the local player start to playback the streaming and I don't need it on the server.
2) I want to make possible restart automatically the streaming if the source disconnect for some reason.
thank you.
:sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:8554/android.sdp} :sout-keep
2 problems:
1) if I create the stream from VLC this work ok, but if I create by command line this work fine but the local player start to playback the streaming and I don't need it on the server.
2) I want to make possible restart automatically the streaming if the source disconnect for some reason.
thank you.