diff options
author | metamuffin <metamuffin@disroot.org> | 2022-10-05 19:58:57 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-10-05 19:58:57 +0200 |
commit | 2449d977f1c0fe98bf022ce5608972ae3aef0bce (patch) | |
tree | 7f0664c5aeba5d2a412ee73d83d3e8e730ae5172 /common | |
parent | 3aa27ead6cf12b3677aef4e88bb3cdb0d4cc30a4 (diff) | |
download | keks-meet-2449d977f1c0fe98bf022ce5608972ae3aef0bce.tar keks-meet-2449d977f1c0fe98bf022ce5608972ae3aef0bce.tar.bz2 keks-meet-2449d977f1c0fe98bf022ce5608972ae3aef0bce.tar.zst |
update protocol.rs
Diffstat (limited to 'common')
-rw-r--r-- | common/packets.d.ts | 3 |
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 } |