Closed tzarebczan closed 2 years ago
When live endpoint is called, we get the m3u8 URL to pass to our player. It can be a hls (regular) or transcoded). When we periodically poll the live endpoint, a channel may start getting transcoded, so we should switch to that stream.
"url":"https://cdn.odysee.live/hls/6de621b92bfa14e54ab56e3498a893e21be785cf/index.m3u8"
"url":"https://cdn.odysee.live/transcode/6de621b92bfa14e54ab56e3498a893e21be785cf.m3u8"
We will add a websocket notification when the stream starts, but we should also use the live status from the live endpoint to try playing.
Code to reference for player specific enhancements: https://github.com/OdyseeTeam/odysee-media-server
If not live, show current background: https://spee.ch/odysee-streaming-png:2.png?quality=80&height=630&width=1200
YESSSSSSSS
@tzarebczan commented on Wed May 12 2021