aboutsummaryrefslogtreecommitdiff
path: root/common/packets.d.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-10-05 19:58:57 +0200
committermetamuffin <metamuffin@disroot.org>2022-10-05 19:58:57 +0200
commit2449d977f1c0fe98bf022ce5608972ae3aef0bce (patch)
tree7f0664c5aeba5d2a412ee73d83d3e8e730ae5172 /common/packets.d.ts
parent3aa27ead6cf12b3677aef4e88bb3cdb0d4cc30a4 (diff)
downloadkeks-meet-2449d977f1c0fe98bf022ce5608972ae3aef0bce.tar
keks-meet-2449d977f1c0fe98bf022ce5608972ae3aef0bce.tar.bz2
keks-meet-2449d977f1c0fe98bf022ce5608972ae3aef0bce.tar.zst
update protocol.rs
Diffstat (limited to 'common/packets.d.ts')
-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
}