How to modify DSCP value inside source code

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
ymsaputra
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Nov 2012 13:56

How to modify DSCP value inside source code

Postby ymsaputra » 04 Dec 2012 03:43

Dear VLC forumers,

As far as I know, the DSCP value for differentiate the QoS just can be determined by inputing the value by user. In my case I want to decide the DSCP value inside the source code, for example I want to decide the DSCP value based on the frame type of encoded video. So it will assign the DSCP value automatically, not manually

What should I do to satisfy this question?

Thank you so much for the answers :D
Best Regards,

Yuris

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to modify DSCP value inside source code

Postby Jean-Baptiste Kempf » 04 Dec 2012 14:57

See src/libvlc-module.c and src/network/udp.c
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ymsaputra
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Nov 2012 13:56

Re: How to modify DSCP value inside source code

Postby ymsaputra » 06 Dec 2012 01:35

Thank you,

I have already taken a look at those files and i have one more question,

Is it possible to make different DSCP value for each packet? so before writing the packet on the network, I want to mark each packet with different DSCP value according to the frame type.

Thank you for the answers
Best Regards,

Yuris

ymsaputra
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Nov 2012 13:56

Re: How to modify DSCP value inside source code

Postby ymsaputra » 11 Dec 2012 03:55

Hello Edith,

Did you succeed to differentiate each packet with different DSCP value?
As fas as I know, the DSCP value can not be changed for that stream.

Can anyone else know how to differentiate DSCP value in one stream?
Best Regards,

Yuris


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 11 guests