aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/packets.d.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/packets.d.ts b/common/packets.d.ts
index 7991e21..cd7fb02 100644
--- a/common/packets.d.ts
+++ b/common/packets.d.ts
@@ -40,10 +40,11 @@ export interface /* enum */ RelayMessage {
}
export interface ChatMessage { text?: string, image?: string }
export type ResourceKind = "track" | "file"
+export type TrackKind = "audio" | "video"
export interface ProvideInfo {
id: string, // for datachannels this is `label`, for tracks this will be the `id` of the only associated stream.
kind: ResourceKind
- track_kind?: "audio" | "video"
+ track_kind?: TrackKind
label?: string
size?: number
}