aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/packets.d.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/packets.d.ts b/common/packets.d.ts
index 02108a3..4ef4ad4 100644
--- a/common/packets.d.ts
+++ b/common/packets.d.ts
@@ -25,7 +25,9 @@ export interface /* enum */ RelayMessage {
identify?: { username: string }
provide?: ProvideInfo
- request?: { id: number }
+ request?: { id: string }
+ provide_stop?: { id: string }
+ request_stop?: { id: string }
offer?: Sdp,
answer?: Sdp,
@@ -33,7 +35,7 @@ export interface /* enum */ RelayMessage {
}
export interface ChatMessage { text?: string, image?: string }
export interface ProvideInfo {
- id: number,
+ id: string,
kind: "audio" | "video" | "file"
label?: string
size?: number