aboutsummaryrefslogtreecommitdiff
path: root/common/packets.d.ts
diff options
context:
space:
mode:
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 bf8fe9f..35972bb 100644
--- a/common/packets.d.ts
+++ b/common/packets.d.ts
@@ -43,7 +43,8 @@ export interface RelayMessage {
offer?: Sdp
answer?: Sdp
ice_candidate?: F_RTCIceCandidateInit
- preview?: { id: string, data: string }
+ preview_response?: { id: string, data?: string, expire: number }
+ preview_request?: { id: string }
}
export interface ChatMessage { text?: string, image?: string }