[vlc-devel] [Videolan-devel] trying to write a sample video streaming application

Rémi Denis-Courmont remi at remlab.net
Sat Jun 5 15:08:14 CEST 2010

Le vendredi 4 juin 2010 09:52:02 Parveen Jain, vous avez écrit :
> Hi All,
>   I am writing a SIP application , which will establish a video session(by
> sending SIP INVITE) with peer entity and once it gets confirmation from
> the peer(200 OK of SIP) the application will send out the video stream to
> his designated RTP port. For this I am trying to explore the video
> streaming capabilities of VLC.I know that VLC can do video streaming using
> RTP/UDP very easily(using command line).The same thing I am trying to
> achieve using its External APIs.I had tried to explore the APIs of
> "libVlc-dev" but somehow got confused in its usage for creating such video
> streaming application.My current requirements are just to read from a
> video file and stream it using a very basic video codec(it can be H248).

There are is no well defined API to stream with LibVLC. You need to set the 
"sout" options as you would do with the command line VLC. You should add the 
option to the LibVLC media item provided to the LibVLC media player.

Rémi Denis-Courmont

More information about the vlc-devel mailing list