-
Notifications
You must be signed in to change notification settings - Fork 38
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
stopping stream #88
Comments
Wrote a snippet that does what you are looking for some time ago: |
Ah thanks! |
@dank074 Heya, when I'm using the solution on the provided comment I still can't stop the video, console.log(command) is giving me undefined even though there's already a stream ongoing |
Also some words about code quality: |
Yeah we can definitely do that. I think I originally did it that way because the promise in |
Maybe let command;
const playback = new Promise(/* do stuff */);
return { playback, command } Or use |
heya is there anyway to stop a stream, replace the streamed video with a new one and start streaming again thanks,
I've tried using command.kill but command is always undefined
The text was updated successfully, but these errors were encountered: