webrtc connect with selected video.

This commit is contained in:
Miroslav Šedivý
2021-04-30 14:06:13 +00:00
parent 1d522e30a3
commit b39022c4de
3 changed files with 18 additions and 7 deletions

View File

@ -9,6 +9,11 @@ export interface Message {
// System
/////////////////////////////
export interface SystemWebRTC {
event: string | undefined
videos: string[]
}
export interface SystemInit {
event: string | undefined
session_id: string
@ -16,6 +21,7 @@ export interface SystemInit {
screen_size: ScreenSize
sessions: Record<string, SessionData>
implicit_hosting: boolean
webrtc: SystemWebRTC
}
export interface SystemAdmin {
@ -38,7 +44,6 @@ export interface SignalProvide {
sdp: string
iceservers: ICEServer[]
video: string
videos: string[]
}
export interface SignalCandidate extends RTCIceCandidateInit {