mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-14 14:19:20 +08:00
missed one usage of videoIsPaused. captions not working yet
This commit is contained in:
parent
658c8d514c
commit
804ace168f
@ -647,7 +647,7 @@ function switchStreamHelper(stream) {
|
||||
// Update local video object
|
||||
VideoChat.localVideo.srcObject = stream;
|
||||
// Unpause video on swap
|
||||
if (videoIsPaused) {
|
||||
if (!VideoChat.videoEnabled) {
|
||||
pauseVideo();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user