Page 1 of 1

Input and Codec Settings > Live555 Stream Transport Option

Posted: 27 Jul 2013 01:40
by samithawijedasa
Hi,

How to set above option via libvlc. Is there a function to do it ? I want to change 'Input and Codec Settings > Live555 Stream Transport Option' from HTTP(default) to RTP over RTSP.

In vlc this option is found under Tools > Prefernces > Input and Codecs

Re: Input and Codec Settings > Live555 Stream Transport Opti

Posted: 30 Jul 2013 16:30
by Agron
Sami, that would be "--rtsp-tcp". Note that this option cannot have a value like =1 or =0 as does everything else in VLC.

Re: Input and Codec Settings > Live555 Stream Transport Opti

Posted: 30 Jul 2013 23:54
by samithawijedasa
Hi Agron,

Thanks for the reply. So I need to pass this when I create a libvlc instance as an argument, right? libvlc_instance_t* libvlc_new(int argc, const char *const * argv)

I did not check that. As a result I permanently enabled it and recompiled vlc, so RTP over RTSP (TCP) will be selected by default.

That is following part of live555.cpp under modules

add_bool( "rtsp-tcp", true,
N_("Use RTP over RTSP (TCP)"),
N_("Use RTP over RTSP (TCP)"), true )

Re: Input and Codec Settings > Live555 Stream Transport Opti

Posted: 31 Jul 2013 19:52
by Agron
yes