disable udp voice connections
This commit is contained in:
parent
9e202803a9
commit
4e5c40bad2
@ -35,6 +35,10 @@ export async function onSelectProtocol(
|
|||||||
payload.d,
|
payload.d,
|
||||||
) as SelectProtocolSchema;
|
) 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(
|
const response = await mediaServer.onOffer(
|
||||||
this.webRtcClient,
|
this.webRtcClient,
|
||||||
data.sdp!,
|
data.sdp!,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user