summary refs log tree commit diff
path: root/src/webrtc/util/WebRtcWebSocket.ts
blob: b97c1699e813469c1d46c9603bcc44e1f5edadad (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>;
}