mirror of
https://github.com/linsa-io/linsa.git
synced 2026-04-11 03:06:56 +02:00
Add WebRTC playback support: implement WebRTCPlayer component, update schema, database, playback types, and API endpoints to handle webrtc_url field and streaming logic
This commit is contained in:
@@ -249,6 +249,7 @@ export const streams = pgTable("streams", {
|
||||
stream_key: text("stream_key").notNull().unique(), // secret key for streaming
|
||||
// Stream endpoints (set by Linux server)
|
||||
hls_url: text("hls_url"), // HLS playback URL
|
||||
webrtc_url: text("webrtc_url"), // WebRTC playback URL
|
||||
thumbnail_url: text("thumbnail_url"),
|
||||
started_at: timestamp("started_at", { withTimezone: true }),
|
||||
ended_at: timestamp("ended_at", { withTimezone: true }),
|
||||
|
||||
Reference in New Issue
Block a user