Skip to content

Conversation

samgabriel
Copy link
Contributor

The pull request fixes issue #592 the local and remote tracks not visible. The issue was Twilio parses the a=ssrc to get the exact trackIds mapped to the msid. this can seen here https://github.com/twilio/twilio-webrtc.js/blob/87f7e61106f58e29364999d8753c773e5602536f/lib/util/sdp.js#L127-L129 .

There was also a problem after releasing the stream in which the stream id was not being removed from the RTCPeerConnection localtracks leading to the next time someone is trying to publish a track it would fail.

@hthetiot hthetiot changed the title Fixes Issue #592 Fix MediaStreamTrack lifecycle and make GetStats logs silent. Nov 19, 2020
@hthetiot hthetiot added this to the 6.0.16 milestone Nov 19, 2020
@hthetiot
Copy link
Contributor

I will make some testing before merging @samgabriel thank you for your contribution.

@hthetiot hthetiot merged commit 557fa29 into cordova-rtc:master Nov 19, 2020
@hthetiot hthetiot changed the title Fix MediaStreamTrack lifecycle and make GetStats logs silent. Fix MediaStreamTrack lifecycle, clone and make GetStats logs silent. Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants