diff --git a/frontend/src/utils/mediasoup-client.js b/frontend/src/utils/mediasoup-client.js index 1589ddf..47cf8b0 100644 --- a/frontend/src/utils/mediasoup-client.js +++ b/frontend/src/utils/mediasoup-client.js @@ -213,13 +213,13 @@ export function createMediaEngine({ roomCode, userId, sendWithAck, logger = defa /** 首次创建 sendTransport 的底层流程,原本 inline 在 ensureSendTransport 中 */ const _createSendTransport = async () => { const info = await requestTransportInfo('send') - const iceServers = [ - { - urls: 'turn:123.6.102.114:3478?transport=udp', - username: 'echochat', - credential: 'echochat_2026-1s32dswW@#' - } -]; + // const iceServers = [ + // { + // urls: 'turn:123.6.102.114:3478?transport=udp', + // username: 'echochat', + // credential: 'echochat_2026-1s32dswW@#' + // } +//]; sendTransport = device.createSendTransport({ id: info.id, iceParameters: info.iceParameters,