Configure TOS (Type of Service) value per media level - Audio (EF) and Video (AF41)

14 views
Skip to first unread message

Kasee Nadh Reddy Bojja

unread,
Aug 28, 2026, 11:54:33 AM (9 days ago) Aug 28
to Sipwise rtpengine
Hi there,


I’m exploring the possibility of marking Audio and Video packets with distinct DSCP values. Specifically, I’d like to set Audio packets with EF and Video packets with AF41.


However, when I set the TOS values, both Audio and Video packets are marked with either EF or AF41. I’m unable to set the values separately.


Asterisk states that it can have multiple values for each data type. Is there an option to set TOS values for Audio and Video packets separately in RTPEngine as well?



RTPEngine documentation accepts only one value so I assume it doesn't support multiple options.

-t--tos=INT

Takes an integer as argument and if given, specifies the TOS value that should be set in outgoing packets. The default is to leave the TOS field untouched. A typical value is 184 (Expedited Forwarding).

Thanks in advance for your assistance.

Kaseenadh Reddy Bojja



Richard Fuchs

unread,
Aug 30, 2026, 9:35:55 AM (7 days ago) Aug 30
to rtpe...@googlegroups.com
On 28/08/2026 11.54, Kasee Nadh Reddy Bojja wrote:

 Is there an option to set TOS values for Audio and Video packets separately in RTPEngine as well?

No, sorry, we don't have that. Sounds like a useful feature though, so pull requests are welcome 😁

Cheers

Kasee Nadh Reddy Bojja

unread,
Aug 31, 2026, 11:21:24 AM (6 days ago) Aug 31
to Sipwise rtpengine
Thanks for the clarification, will see if I can contribute to this feature.
Have a great day
Reply all
Reply to author
Forward
0 new messages