Re: [webrtc-stats] Need DSCP information for incoming RTP streams

I think that on Linux, you can get it using recvmsg(2) on an UDP socket and inspecting the msghdr structure for a TOS byte, which you will have to enable with setsockopt(IP_RECVTOS). But this is from searching stackoverflow, not from writing code, so YMMV.


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/135#issuecomment-339300674 using your GitHub account

Received on Wednesday, 25 October 2017 11:34:00 UTC