handle combined participant update. (#130)
* handle combined participant update (WIP). * always emit events for new publications. * update info for exist participant. * fix tests. * update. * Move emitWhenConnected to Room layer.
This commit is contained in:
@@ -69,7 +69,6 @@ class RemoteTrackPublication<T extends RemoteTrack>
|
||||
_streamState = streamState;
|
||||
[
|
||||
participant.events,
|
||||
participant.room.events,
|
||||
].emit(TrackStreamStateUpdatedEvent(
|
||||
participant: participant,
|
||||
publication: this,
|
||||
@@ -304,7 +303,6 @@ class RemoteTrackPublication<T extends RemoteTrack>
|
||||
// emit events
|
||||
[
|
||||
participant.events,
|
||||
participant.room.events,
|
||||
].emit(TrackSubscriptionPermissionChangedEvent(
|
||||
participant: participant,
|
||||
publication: this,
|
||||
|
||||
Reference in New Issue
Block a user