commit | 0ba1533fdbe4a098723da8262f1374d71c3a1806 | [log] [tgz] |
---|---|---|
author | pthatcher@webrtc.org <pthatcher@webrtc.org> | Sat Jan 10 00:47:02 2015 |
committer | pthatcher@webrtc.org <pthatcher@webrtc.org> | Sat Jan 10 00:47:02 2015 |
tree | 962c23f9ddd16d0edd7e12127aef7eb8d9387ae9 | |
parent | 2693a546141c0cf9edcd9eaacd50deca92b87d91 [diff] |
Added support for an Origin header in STUN messages. For WebRTC there are instances where it may be desirable to provide information to the STUN/TURN server about the website that initiated a peer connection. This modification allows an origin string to be included in the MediaConstraints object provided by the browser, which is then passed as a STUN header in communications with the server. A separate change will be submitted to the Chromium project that uses and is dependent on this change, implementing IETF draft http://tools.ietf.org/html/draft-johnston-tram-stun-origin-02 Originally a patch from skobalt@gmail.com. (https://webrtc-codereview.appspot.com/12839005/edit) R=juberti@webrtc.org Review URL: https://webrtc-codereview.appspot.com/41409004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@8035 4adac7df-926f-26a2-2b94-8c16560cd09d