Commit Graph

5 Commits

Author SHA1 Message Date
Nikita
b2c94ea623 Update hardcoded Cloudflare Stream UID to a constant and remove dynamic HLS URL updates 2025-12-24 23:26:36 -08:00
Nikita
ca8af44c72 Update environment typings and stream handling for dynamic HLS URL
- Add `CLOUDFLARE_STREAM_NIKIV_VIDEO_ID` to environment variables
- Refactor `$username.tsx` to initialize stream data with default HLS URL
- Implement dynamic HLS URL update based on API response for Nikiv stream
- Modify `/api/check-hls` route to use environment variable for video ID
- Ensure HLS URL updates trigger stream data refresh in client
- Update `wrangler.jsonc` to include `CLOUDFLARE_STREAM_NIKIV_VIDEO_ID` in env vars
2025-12-24 23:17:59 -08:00
Nikita
3141241626 Improve VideoPlayer to notify when ready and update StreamPage to handle player readiness and connection state 2025-12-24 19:06:58 -08:00
Nikita
0aa68c9ae8 Improve HLS playlist live check logic to correctly identify master playlists and live streams 2025-12-24 18:56:39 -08:00
Nikita
7e480305c4 Add API route to check HLS stream status and integrate server-side HLS validation in StreamPage component 2025-12-24 18:52:46 -08:00