open-webrtc-toolkit/owt-client-javascript

Channel "id" event fires multiple times for single peer connection

starwarfan opened this issue · 0 comments

https://github.com/open-webrtc-toolkit/owt-client-javascript/blob/main/src/sdk/conference/client.js#L357
When I publish 1 stream with audio & video and subscribe it, the statement is executed twice.
Then there're 2 ID map to same channel, which causes later events like 'mute' trigger 2 times.