I wanted to set DSCP bits on the outgoing udp packets. For doing that I’m using iptables. For anyone interested in the command:
iptables -t mangle -A OUTPUT -p udp -j DSCP --set-dscp-class ef
So the rule says that all the outgoing udp packets should be markes as DSCP EF (Expedite Forwarding). But running wireshark on the consumer end I don’t see any packets being marked like this.
My question was. Is mediasoup using RAW sockets for sending streams? Because if that is the case then iptables is not the place to be setting DSCP fields as RAW sockets kind of bypass the networking stack - from my knowledge.
All and Any help is appreciated.