Purpose of this PR:
As chrome is moving towards switching default to unfied-plan, the MCU team has made changes to support the new SDP and hence some fine tuning is needed in 1.x.x SDK to enable the transition.
onaddstream is now changed to ontrack
streamIdPeerIdMap is changed to transceiverIdPeerIdMap [Look up transceiverMid in RTCTrackEvent parameter of ontrack]
A new method compareTrackCounts is added to decide if new Transceivers are needed in local SDP before sending an offer
Purpose of this PR: As chrome is moving towards switching default to
unfied-plan
, the MCU team has made changes to support the newSDP
and hence some fine tuning is needed in 1.x.x SDK to enable the transition.onaddstream
is now changed toontrack
streamIdPeerIdMap
is changed totransceiverIdPeerIdMap
[Look uptransceiverMid
inRTCTrackEvent
parameter ofontrack
]compareTrackCounts
is added to decide if newTransceivers
are needed in local SDP before sending anoffer
See ESS-1415 for more details.