Hi,
I use libvlc to restream a live mjpeg stream using rtsp broadcast. My client is live555 proxyserver. The live555 proxy client sends play and receives video feed but after about 60 secs receives RTCP bye message. Now the input is not a file but live stream itself. I have tried --sout-keep, gather and loop enabled. It seems that RTSP session timeout is hardcoded to 60 secs and no way i can change that. The VLC RTSP server does support GET_PARAMETER and PAUSE as shown in OPTIONS. But when live555 sends it a GET_PARAMETER the response is a 451 client error and on sending PAUSE sends backs 405 error. Fyi, I use LIVE555 proxy server to tunnel over http as VLC doesnt support it yet at the server end.
libvlc_vlm_add_broadcast(VLC.Instance, "STREAM 1","http://10.0.0.23:8084","#gather:transcode{venc=x264{keyint=60,profile=baseline,level=3.0,no-cabac,vbv-maxrate=2000},vcodec=x264,vb=2000,scale=1}:rtp{sdp= ":5554/test.sdp"}",
0,null, 1, 1, ref ex);
Thread.Sleep(1000);
libvlc_vlm_play_media(VLC.Instance, "STREAM 1", ref ex);