Input and Codec Settings > Live555 Stream Transport Option

This forum is about all development around libVLC.
samithawijedasa
Blank Cone
Blank Cone
Posts: 21
Joined: 11 Jul 2013 22:52

Input and Codec Settings > Live555 Stream Transport Option

Postby samithawijedasa » 27 Jul 2013 01:40

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

Agron
Blank Cone
Blank Cone
Posts: 10
Joined: 26 Jul 2013 15:48
Operating System: Linux

Re: Input and Codec Settings > Live555 Stream Transport Opti

Postby Agron » 30 Jul 2013 16:30

Sami, that would be "--rtsp-tcp". Note that this option cannot have a value like =1 or =0 as does everything else in VLC.

samithawijedasa
Blank Cone
Blank Cone
Posts: 21
Joined: 11 Jul 2013 22:52

Re: Input and Codec Settings > Live555 Stream Transport Opti

Postby samithawijedasa » 30 Jul 2013 23:54

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 )

Agron
Blank Cone
Blank Cone
Posts: 10
Joined: 26 Jul 2013 15:48
Operating System: Linux

Re: Input and Codec Settings > Live555 Stream Transport Opti

Postby Agron » 31 Jul 2013 19:52

yes


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 30 guests