_recvTransport connect no callback,but _sendTransport is have
ckJust opened this issue · comments
cNull commented
if(_consume){
const transportInfos = await _protoo.request('createWebRtcTransport',
{
forceTcp : false,
producing : false,
consuming : true
});
const {
id,
iceParameters,
iceCandidates,
dtlsParameters,
sctpParameters
} = transportInfos;
_recvTransport = _mediasoupDevice.createRecvTransport({
id,
iceParameters,
iceCandidates,
dtlsParameters :
{
...dtlsParameters,
role : 'auto'
},
sctpParameters
});
_recvTransport.on('connect', async ({ dtlsParameter }, callback, errback) =>
{
await _protoo.request('connectWebRtcTransport',{
transportId : _recvTransport.id,
dtlsParameter
})
.then(callback)
.catch(errback);
});
}
cNull commented
Using libmediasoup is fine,but JavaScript sdk doesn't work
cNull commented
Not helpful at all
…------------------ 原始邮件 ------------------
发件人: "versatica/mediasoup-client" ***@***.***>;
发送时间: 2022年11月25日(星期五) 下午4:47
***@***.***>;
***@***.******@***.***>;
主题: Re: [versatica/mediasoup-client] _recvTransport connect no callback,but _sendTransport is have (Issue #225)
Closed #225 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
Iñaki Baz Castillo commented
Of course not. Bye.