How to play streaming video in vlcj ?

This forum is about all development around libVLC.
jobs
New Cone
New Cone
Posts: 6
Joined: 18 Jul 2012 16:32

How to play streaming video in vlcj ?

Postby jobs » 18 Jul 2012 20:40

my server is streaming video using ffmpeg in mpegts format over UDP ...and i want to play that video using library vlcj (Java) can one provide me a small example or direct me to a working example from where i can learn
thanks

from the vlcj documentation i just got that we have to use udp://IP:port but this is not working ......where i m wrong please help

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

Re: How to play streaming video in vlcj ?

Postby Rémi Denis-Courmont » 20 Jul 2012 09:50

Raw MPEG-TS over UDP would be udp://IP:port where IP is the destination IP adress and port the destination UDP port number.
MPEG-TS over RTP over UDP would be rtp://IP:port with the same conventions.
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 9 guests