diff options
author | metamuffin <metamuffin@disroot.org> | 2022-10-03 11:28:16 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-10-03 11:28:16 +0200 |
commit | 4e99a3325318c902cd78ea9f760f46d79acde5c0 (patch) | |
tree | cc2bc54f4a0eb27db2b5d38dfbb785c1e9b84bd6 /common | |
parent | fa44b02da29a0bd1b60026d4f6ffd6c9748a09da (diff) | |
download | keks-meet-4e99a3325318c902cd78ea9f760f46d79acde5c0.tar keks-meet-4e99a3325318c902cd78ea9f760f46d79acde5c0.tar.bz2 keks-meet-4e99a3325318c902cd78ea9f760f46d79acde5c0.tar.zst |
riesencommit (part 1)
Diffstat (limited to 'common')
-rw-r--r-- | common/packets.d.ts | 4 |
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 } |