option"--rtsp-session-timeout"in function libvlc_vlm_add_vod
Posted: 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:
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.
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);
Any idea ? Thanks again.