Change UDP Packet Size

About encoding, codec settings, muxers and filter usage
Kazuya.H
New Cone
New Cone
Posts: 1
Joined: 13 Aug 2009 16:55

Change UDP Packet Size

Postby Kazuya.H » 13 Aug 2009 17:12

Hi !!

I am streammig a movie over a 802.11 network. I need to change the rtp/udp packet size to evaluate the performance of the network in differents enviroments. I am doing an unicast transmission from a video server to a video client.

Many Thanks !!!

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

Re: Change UDP Packet Size

Postby Rémi Denis-Courmont » 13 Aug 2009 18:34

There is a MTU setting for that.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

lordnk
New Cone
New Cone
Posts: 9
Joined: 13 Aug 2009 03:39

Re: Change UDP Packet Size

Postby lordnk » 14 Aug 2009 03:07

I noticed that when using the RTP output module and the MTU option together, I was able to control the packet size/timing. That is to say, setting an MTU of 10 would send packets at roughly 1ms or less apart.

Mtu of 20 send packets about 2ms apart, etc etc up to 170, where the packets end up 'maxing out' at 16.6666ms apart - after 170 MTU it makes no difference, the time/size of packet is always 16ms/180b ? Is this a bug?

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

Re: Change UDP Packet Size

Postby Rémi Denis-Courmont » 15 Aug 2009 10:50

That depends on the payload format.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 20 guests