Create a multicast stream

This forum is about all development around libVLC.
support_fxtdigital
New Cone
New Cone
Posts: 3
Joined: 22 Jun 2023 17:37

Create a multicast stream

Postby support_fxtdigital » 25 Jun 2023 11:04

I need to create a stream multicast using libVLC.

Now I used the player with command line:
vlc --intf dummy -vvv file:///C:/temp/Test.mp4 --sout="#rtp{mux=ts, dst=239.255.0.1, port=5004, sap, name=TEST}" :no-sout-all :sout-keep

How make the same using libVLC?

Thanks

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Create a multicast stream

Postby Rémi Denis-Courmont » 25 Jun 2023 11:55

You don't. You just create a VLC child process with that same command line.

LIBVLC is a playback library. There are plans to add proper APIs for output but they have not been actualised so far.

Besides you should always create a separate process where possible - it's more robust.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests