how send video to vlc with socket Tcp or udp

This forum is about all development around libVLC.
tulkas85
Blank Cone
Blank Cone
Posts: 19
Joined: 07 Aug 2009 13:27

how send video to vlc with socket Tcp or udp

Postby tulkas85 » 03 Sep 2009 10:29

Hi, I hope someone can help me.

I'm trying to send a video-file using a socket unix to vlc.

My software don't work, maybe I don't know the protocol to use.

If I use Udp connection, after bind call I use recvfrom for take and store address of vlc player.
recvfrom is block-mode and stop my software.

When i press play to vlc , the recvfrom is always blocked and the connection don't happen... why?

p.s. sorry for the english....

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

Re: how send video to vlc with socket Tcp or udp

Postby Rémi Denis-Courmont » 03 Sep 2009 17:29

You should rather use a pipe or a named FIFO if you want to write a stream to a local VLC process.
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 37 guests