disable udp voice connections
This commit is contained in:
parent
9e202803a9
commit
4e5c40bad2
@ -35,6 +35,10 @@ export async function onSelectProtocol(
|
||||
payload.d,
|
||||
) as SelectProtocolSchema;
|
||||
|
||||
// UDP protocol not currently supported. Maybe in the future?
|
||||
if (data.protocol !== "webrtc")
|
||||
return this.close(4000, "only webrtc protocol supported currently");
|
||||
|
||||
const response = await mediaServer.onOffer(
|
||||
this.webRtcClient,
|
||||
data.sdp!,
|
||||
|
Loading…
x
Reference in New Issue
Block a user