Skip to content
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

Stop playing a stream #72

Open
Trojan295 opened this issue Dec 27, 2022 · 3 comments
Open

Stop playing a stream #72

Trojan295 opened this issue Dec 27, 2022 · 3 comments

Comments

@Trojan295
Copy link

Hello,

I would like to use this library to play an endless stream. Is there an option to stop playing the stream? Like executing stream.Stop() in another goroutine or by passing a context.Context, which can be cancelled?

@2hangchen
Copy link

Have you solved your problem @Trojan295

@Trojan295
Copy link
Author

I wrote my own wrapper over ffmpeg binary

@2hangchen
Copy link

I wrote my own wrapper over ffmpeg binary

well, I took care of that by managing contextwithcancel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants