streaming UDP is not recommended

About encoding, codec settings, muxers and filter usage
Beginner1
Blank Cone
Blank Cone
Posts: 13
Joined: 01 Sep 2008 06:44

streaming UDP is not recommended

Postby Beginner1 » 19 Sep 2008 06:00

I downloaded the new version 0.9.2 and saw that streaming UDP is not recommended(there is a poup message indicating so).
can someone explain why?
Regards
Ronny

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: streaming UDP is not recommended

Postby dionoea » 19 Sep 2008 15:06

Because RTP was designed to be a streaming protocol and UDP wasn't (RTP is on top of UDP anyway).

Cheers,
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

cable007
Blank Cone
Blank Cone
Posts: 24
Joined: 25 Mar 2008 09:43

Re: streaming UDP is not recommended

Postby cable007 » 19 Sep 2008 16:28

just tested it and result is horrible !!!
before with udp stream it was ok now catastrophic

downgraded into last 0.8.6

Nico

PS : tested in trying to stream from webcam and from hardware card

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

Re: streaming UDP is not recommended

Postby Rémi Denis-Courmont » 20 Sep 2008 10:54

You are free to use the insecure old buggy unsupported version.

That being noted, both 0.8.6 and 0.9 support both crappy UDP and proper RTP.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

makroll
New Cone
New Cone
Posts: 2
Joined: 20 Sep 2008 12:12

Re: streaming UDP is not recommended

Postby makroll » 30 Sep 2008 03:39

Even if UDP is not recommended for streaming, all IPTV operators use UDP.
You should think about it
Cheers

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

Re: streaming UDP is not recommended

Postby Rémi Denis-Courmont » 30 Sep 2008 22:19

Yeah, we've thought about it, and concluded that using raw UDP is plain stupid, and RTP over UDP is good.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

makroll
New Cone
New Cone
Posts: 2
Joined: 20 Sep 2008 12:12

Re: streaming UDP is not recommended

Postby makroll » 21 Oct 2008 03:55

Well, there must be many stupid people around the world then... broadcasters, engineers, stupid people that started VLC development (see Anevia guys...)
It is not crappy, it is just best effort...
Indeed it is a pitty to loose this feature in VLC (it is true, one can use older versions...)

ranshalit
Blank Cone
Blank Cone
Posts: 29
Joined: 07 Jul 2012 15:46

Re: streaming UDP is not recommended

Postby ranshalit » 18 Jun 2015 17:13

Hi,

I know this thread is quite old,
but maybe I can add something for this discussion.
I am using latest vlc version 2.2.1.
I have tried now both udp and rtp with some simple file between 2 computers connected with cable.
With udp I get excelent result, but with rtp, it is really buggy, and horrible. I use same file for both.
Is there any idea what could be wrong when trying to stream rtp file between two computers ?
computer1: sends to 169.54.20.21:5004
computer2: listens to rtp://@:5004

Thank you!
Ran

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

Re: streaming UDP is not recommended

Postby Rémi Denis-Courmont » 21 Jun 2015 20:59

Misconfiguration would be the most obvious problem.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ranshalit
Blank Cone
Blank Cone
Posts: 29
Joined: 07 Jul 2012 15:46

Re: streaming UDP is not recommended

Postby ranshalit » 21 Jun 2015 21:39

Hi,

After moving from vlc 2.2.1 64 bit to vlc 2.2.1 32-bit ( windows 7) it is OK, in both udp and rtp.
Maybe it is bug in vlc 2.2.1 64-bit ?

Regards,
Ran


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 30 guests