summaryrefslogtreecommitdiff
path: root/common/packets.d.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-10-03 11:28:16 +0200
committermetamuffin <metamuffin@disroot.org>2022-10-03 11:28:16 +0200
commit4e99a3325318c902cd78ea9f760f46d79acde5c0 (patch)
treecc2bc54f4a0eb27db2b5d38dfbb785c1e9b84bd6 /common/packets.d.ts
parentfa44b02da29a0bd1b60026d4f6ffd6c9748a09da (diff)
downloadkeks-meet-4e99a3325318c902cd78ea9f760f46d79acde5c0.tar
keks-meet-4e99a3325318c902cd78ea9f760f46d79acde5c0.tar.bz2
keks-meet-4e99a3325318c902cd78ea9f760f46d79acde5c0.tar.zst
riesencommit (part 1)
Diffstat (limited to 'common/packets.d.ts')
-rw-r--r--common/packets.d.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/packets.d.ts b/common/packets.d.ts
index c8f65d6..7991e21 100644
--- a/common/packets.d.ts
+++ b/common/packets.d.ts
@@ -39,9 +39,11 @@ export interface /* enum */ RelayMessage {
ice_candidate?: F_RTCIceCandidateInit,
}
export interface ChatMessage { text?: string, image?: string }
+export type ResourceKind = "track" | "file"
export interface ProvideInfo {
id: string, // for datachannels this is `label`, for tracks this will be the `id` of the only associated stream.
- kind: "audio" | "video" | "file"
+ kind: ResourceKind
+ track_kind?: "audio" | "video"
label?: string
size?: number
}