aullman / opentok-meet

Opentok app with screen sharing using the WebRTC screen sharing feature
MIT License
133 stars 129 forks source link

Prevent ngRepeat:dupe error by tracking streams by streamId #148

Closed aiham closed 4 years ago

aiham commented 8 years ago

@eauge reported an ngRepeat:dupe error when a room is opened in many tabs at the same time.

This PR prevents that error by tracking streams by their streamId. The root cause is that opentok.js sends multiple streamCreated events for the same stream and an issue has been created to track that bug.