Skip to content

Commit

Permalink
fix(service-providers): stop using camera on history back (#2074)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious authored Nov 3, 2023
1 parent 14cc519 commit a21cad4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class RTCTestAvatar implements IServiceVideoChatAvatar {
});
}
}
if (localCameraTrack && !localCameraTrack.enabled) {
if (localCameraTrack) {
await localCameraTrack.setEnabled(shouldCamera);
}
} catch (e) {
Expand Down

0 comments on commit a21cad4

Please sign in to comment.