70 Commits

Author SHA1 Message Date
Nikita
7f6f7d2f37 Add stream_replays table, related schema, and API endpoints for managing stream replays 2025-12-23 23:20:22 -08:00
Nikita
1bb0450d02 Add links to social media and GitHub in LandingPage for better navigation 2025-12-23 18:17:28 -08:00
Nikita
9e62068359 Improve HLS live detection and state management in StreamPage component
- Add `hlsLive` state to track if HLS playlist is live
- Implement `isHlsPlaylistLive` function to determine playlist status
- Reset `hlsLive` before fetching new manifest
- Update fetch logic to set `hlsLive` based on playlist analysis
- Refine live status checks to consider HLS playlist state
- Adjust rendering conditions to use `isActuallyLive` for consistency
2025-12-23 14:41:42 -08:00
Nikita
9233104381 Implement soft fullscreen mode with timeout handling in VideoPlayer component; update fullscreen state management and styling accordingly. 2025-12-23 14:25:07 -08:00
Nikita
937f13581e Fix Spotify now playing text and link rendering in StreamPage component 2025-12-23 14:16:48 -08:00
Nikita
15b92cc16b Improve fullscreen support for CloudflareStreamPlayer and VideoPlayer components
- Add missing `webkitallowfullscreen` attribute in CloudflareStreamPlayer
- Enhance VideoPlayer to detect iOS devices and use `webkitEnterFullscreen` when available
- Adjust fullscreen state setting to account for WebKit-specific fullscreen elements
2025-12-23 14:07:53 -08:00
Nikita
4a6b510a5e Update production setup docs with new Spotify secret; enhance video components for fullscreen handling; add Spotify now-playing API module. 2025-12-23 13:54:34 -08:00
Nikita
244aa9324a Add cross-browser fullscreen handling and event listeners to VideoPlayer component 2025-12-23 12:31:55 -08:00
Nikita
93bd99f9ed Implement WebRTC URL resolution and update stream playback logic across components and API routes 2025-12-23 11:32:08 -08:00
Nikita
f45c28f941 fix: remove obsolete commit checkpoints file; update WebRTCPlayer for error handling; improve stream fallback logic in StreamPage 2025-12-22 11:47:17 -08:00
Nikita
2a98dd1d0b Update stream playback configuration to include WebRTC support and conditionally render WebRTC player in stream page. 2025-12-21 18:37:46 -08:00
Nikita
3d6709e5c5 Update commit checkpoints with new timestamp and session ID; modify stream placeholder to display "stream soon" and adjust link text based on username. 2025-12-21 18:36:03 -08:00
Nikita
01102c6817 Add WebRTC playback support: implement WebRTCPlayer component, update schema, database, playback types, and API endpoints to handle webrtc_url field and streaming logic 2025-12-21 18:34:06 -08:00
Nikita
b9927d9807 Update stream capture frame rate to 60 FPS and adjust encoding settings; increase audio bitrate to 256k for better quality. 2025-12-21 18:15:28 -08:00
Nikita
7d24993b08 Update commit checkpoints, add API route for stream viewers, and synchronize viewer count to database 2025-12-21 15:20:30 -08:00
Nikita
e37e89dc4d Update streaming placeholder to display a link for 'nikiv' and a message for others 2025-12-21 15:15:14 -08:00
Nikita
f188310411 Add real-time viewer count component and integrate it into stream page; update presence tracking logic with Jazz. 2025-12-21 15:12:32 -08:00
Nikita
c16440c876 Update route definitions to include archive routes and add new archive-related files 2025-12-21 15:04:40 -08:00
Nikita
103a4ba19c feat: Add Cloudflare StreamPlayer component and update schema with billing and access control
- Introduced `CloudflareStreamPlayer` React component for embedding streams
- Updated `package.json` with new dependencies: `@cloudflare/stream-react` and `stripe`
- Extended database schema with user tiers, Stripe billing, storage, and archive management
- Added access control logic in `access.ts` for user tiers and feature permissions
- Enhanced billing logic with archive storage limits and subscription checks
2025-12-21 14:56:30 -08:00
Nikita
8cd4b943a5 . 2025-12-21 13:37:19 -08:00