summary refs log tree commit diff
path: root/src/webrtc/util/WebRtcWebSocket.ts
blob: e36b4f1dc349d06fc81e812488a5e3843c16a264 (plain) (blame)
1
2
3
4
5
6
7
import { WebSocket } from "@spacebar/gateway";
import type { WebRtcClient } from "@spacebarchat/spacebar-webrtc-types";

export interface WebRtcWebSocket extends WebSocket {
    type: "guild-voice" | "dm-voice" | "stream";
    webRtcClient?: WebRtcClient<WebRtcWebSocket>;
}