Closed turivishal closed 1 year ago
Hi @turivishal thanks for opening this issue.
For live streams, you'll have to wait until the stream is "active". Before "active" the playback ID will not be able to used in a player.
You can monitor the live stream status via webhooks or with GET /video/v1/live-streams/{LIVE_STREAM_ID}
on your server. Webhooks is preferred to avoid API request rate limits.
Let me know if this helps
Thank you for your reply, It makes sense.
I am integrating the player into html-js static site, below is my code:
The streaming is not started yet, It shows the "A network error caused the media download to fail part-way." error in the player, is there any way to handle this error and show a preview image or wait for the host message or something?
Codesandbox link: https://codesandbox.io/s/mux-videojs-player-error-tsdm72