mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
webrtc connect with selected video.
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user