How to detect when a live stream ends?
Open
feature
- Dominant language
- JavaScript
- Stars
- 4.7k
- Forks
- 852
- PR merge metrics
- No merged PRs in 30d
Description
Hey just wanted to ask here first if there is any standard quick way to detect when a youtube live stream ends?
What I tried was to check if there hasn't been any new frames received in the past 30 seconds and if so it attempts to restart the stream and check if it is live(through formats)
the problem is that the formats return live even when the stream has ended a long time ago so it just keeps on downloading the same video over and over again. So checking through formats is not a good solution.
Thank you!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.