option"--rtsp-session-timeout"in function libvlc_vlm_add_vod

This forum is about all development around libVLC.
captainst
Blank Cone
Blank Cone
Posts: 24
Joined: 01 Sep 2011 16:43

option"--rtsp-session-timeout"in function libvlc_vlm_add_vod

Postby captainst » 03 Sep 2011 14:53

Good Day!

Does anybody know that is the format of parameter "ppsz_options" in function libvlc_vlm_add_vod ?

I have set up like this:

Code: Select all

const char * const vlm_args[] = { "--no-sout-rtp-sap", "--no-sout-standard-sap", "--ttl=1", "--rtsp-session-timeout=-1", "--sout-keep" }; libvlc_vlm_add_vod(m_pLibvlcInst, name, (LPCTSTR)strInput, sizeof(vlm_args)/ sizeof(vlm_args[0]), vlm_args, false, NULL);
But the option "--rtsp-session-timeout=-1" does not seem to work. When the source disconnect, the client always stops after about 10 seconds. I want the RTSP client to wait longer before closing the connection.

Any idea ? Thanks again.

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests