Closed RSATom closed 2 years ago
Thx @RSATom i will see what I can do. Keep posted.
May be this PR can fix the issue also https://github.com/cordova-rtc/cordova-plugin-iosrtc/pull/648
I have a one million dollars question, do they use unique Id for Media stream lines in SDP?
@hthetiot within specific SDP - I think yes.
if PR QA pass, will release as part of 8.0.4
extra/renderer-and-libwebrtc-tests.js
file).Versions affected
Description
If try disable tracks gotten from receivers list on official Janus Videoroom demo I get following error in XCode debug console:
Steps to reproduce
Expected results
Track should be switched to disabled state
Actual results
Above error message
Investigation results
The problem is here: https://github.com/cordova-rtc/cordova-plugin-iosrtc/blob/239b8335a15a72d8847e083979b4479ad0d515c3/src/PluginMediaStreamTrack.swift#L22 and here: https://github.com/cordova-rtc/cordova-plugin-iosrtc/blob/239b8335a15a72d8847e083979b4479ad0d515c3/src/PluginRTCPeerConnection.swift#L824
i.e. on one side iosrtc alters track id to make it unique, but on other side iosrtc returns tracks from transeivers as is without replace original track id to internal iosrtc's track id.