W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2017

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

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Oct 2017 11:33:56 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-339300674-1508931235-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:14:56 UTC