[vlc-devel] Type Of Service

Michael Ditum mike at mikeditum.co.uk
Thu Oct 27 18:28:35 CEST 2005


I wanted to be able to set the Type Of Service field in the IP packets
that I stream out and as there was currently no way to do it I wrote
it...

I've attached a patch against the latest SVN (rev 12985) which adds a
command line switch (--tos) which takes an integer. This can be
between 0 and 254.

It clamps the value provided within the range and ensures that the
least significant bit is always set to 0 (as the spec says it is to
be).

Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: type_of_service.patch
Type: application/octet-stream
Size: 2123 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20051027/ab7feeb4/attachment.obj>


More information about the vlc-devel mailing list