Skip to content

fixed video end bug #620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fixed video end bug
  • Loading branch information
freddysundowner committed Jan 3, 2024
commit 61d548ebe8e33c94b759977b348034dec9e7e6c4
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ const shareScreen = async (sharing: boolean) => {
};
const leaveChannel = async () => {
//stops local sharing video
screenShareStream.close();
if (screenShareStream) {
screenShareStream.close();
}

//stops local video streaming and puts off the camera
if (videoTrack) {
Expand Down