From 2449d977f1c0fe98bf022ce5608972ae3aef0bce Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 5 Oct 2022 19:58:57 +0200 Subject: update protocol.rs --- common/packets.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common') 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 } -- cgit v1.2.3-70-g09d2