[ortc] RTCRtpSender.setTransport may raise a IncompatibleMediaStreamTrackError due to identity check

murillo128 has just created a new issue for 
https://github.com/openpeer/ortc:

== RTCRtpSender.setTransport may raise a 
IncompatibleMediaStreamTrackError due to identity check ==
The RTCRtpSender needs to ensure that the transport identity matches 
the media track requested identity.

This is only done currently when changing the track:
```
 "If withTrack.kind differs from RTCRtpSender.track.kind or if 
withTrack has different peerIdentity constraints, then reject p with 
IncompatibleMediaStreamTrackError and abort these steps. "
```
but it is not checked when the transport is changed.

When the transport is changed, the transport identity has to be 
checked against the media track constraints and if not matching, 
either raise an IncompatibleMediaStreamTrackError or return a promise 
and reject it.

Please view or discuss this issue at 
https://github.com/openpeer/ortc/issues/467 using your GitHub account

Received on Wednesday, 13 April 2016 11:28:01 UTC