Skip to content

Commit

Permalink
Set subscription to allowed when subscribed (livekit#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao authored Jun 28, 2022
1 parent 98d7169 commit 8f877e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/participant/remote.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class RemoteParticipant extends Participant<RemoteTrackPublication> {

await track.start();
await pub.updateTrack(track);
await pub.updateSubscriptionAllowed(true);
addTrackPublication(pub);

[events, room.events].emit(TrackSubscribedEvent(
Expand Down

0 comments on commit 8f877e9

Please sign in to comment.