Gitcoin is GDPR complaint. Learn more in
Gitcoin's Terms & Conditions.
Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
Currently the media stream labels are hardcoded in the SDP offer and answer generation. The `RTCPeerConnection.AddTrack` should be extended to support adding media stream labels.
- [ ] Add a [variadic](https://gobyexample.com/variadic-functions) streams argument to the AddTrack method as specified in the [RTP Media API](https://w3c.github.io/webrtc-pc/#rtcpeerconnection-interface-extensions)
- [ ] Store the media stream ids on the RTCTrack object as specified [here](https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-addtrack)
- [ ] Add the media streams to the SDP offer and answer. Some of the required logic already exists. However, the stream label is currently hardcoded to the track label. The procedure is specified in the [JSEP spec](https://tools.ietf.org/html/draft-ietf-rtcweb-jsep)