Temasys / SkylinkJS

SkylinkJS Javascript WebRTC SDK
http://skylink.io/web
Other
275 stars 57 forks source link

ESS-1598: Unified-Plan | Update sendStream to use replaceTrack when possible #394

Closed ishannaithani closed 5 years ago

ishannaithani commented 5 years ago

Purpose of this PR:

If a peer is in unified-plan, the SDK should use RTCRTPSender.replaceTrack wherever possible in the sendStream function. Renegotiation is needed in cases where there is a mismatch in either kind or count of RTCRTPSenders.

See ESS-1598 for more details.