summary refs log tree commit diff
path: root/webrtc/src/opcodes/SelectProtocol.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webrtc/src/opcodes/SelectProtocol.ts')
-rw-r--r--webrtc/src/opcodes/SelectProtocol.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webrtc/src/opcodes/SelectProtocol.ts b/webrtc/src/opcodes/SelectProtocol.ts
index 72fb9c79..71772454 100644
--- a/webrtc/src/opcodes/SelectProtocol.ts
+++ b/webrtc/src/opcodes/SelectProtocol.ts
@@ -88,7 +88,7 @@ export interface SelectProtocolPayload extends Payload {
 }
 */
 
-export async function onSelectProtocol(this: Server, socket: WebSocket, data: SelectProtocolPayload) {
+export async function onSelectProtocol(this: Server, socket: WebSocket, data: Payload) {
 	if (data.d.sdp) {
 		const rtpCapabilities = this.mediasoupRouters[0].rtpCapabilities;
 		const codecs = rtpCapabilities.codecs as RtpCodecCapability[];