Skip to content

Commit

Permalink
Fix remote unpublish (#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO authored Jan 18, 2024
1 parent 5d282f8 commit 98fa5eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/room/RTCEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,10 @@ export default class RTCEngine extends (EventEmitter as new () => TypedEventEmit
resolve(res.track!);
};

this.client.onLocalTrackUnpublished = (response: TrackUnpublishedResponse) => {
this.emit(EngineEvent.LocalTrackUnpublished, response);
};

this.client.onTokenRefresh = (token: string) => {
this.token = token;
};
Expand Down

0 comments on commit 98fa5eb

Please sign in to comment.