mediasoup-client:ERROR:CommandQueue _handleCommand() | command failed [method:addProducer]: Error: m=video section not found
I have error
Uncaught (in promise) Error: m=video section not found
and
Uncaught (in promise) Error: m=audio section not found
when
peers are in firefox and safari
or some chrome on mobile
module.exports = {
server: {
port: 3000
},
mediasoup: {
// mediasoup Server settings.
logLevel: ‘warn’,
logTags: [
‘info’,
‘ice’,
‘dtls’,
‘rtp’,
‘srtp’,
‘rtcp’,
‘rbe’,
‘rtx’
],
rtcIPv4: true,
rtcIPv6: true,
rtcAnnouncedIPv4: null,
rtcAnnouncedIPv6: null,
rtcMinPort: 40000,
rtcMaxPort: 49999,
// mediasoup Room codecs.
mediaCodecs: [
{
kind: ‘audio’,
name: ‘opus’,
clockRate: 48000,
channels: 2,
parameters: {
useinbandfec: 1
}
},
{
kind: ‘video’,
name: ‘VP8’,
clockRate: 90000
},
{
kind: ‘video’,
name: ‘H264’,
clockRate: 90000,
parameters: {
‘packetization-mode’: 1,
‘profile-level-id’: ‘42e01f’
}
},
{
kind: ‘video’,
name: ‘H264’,
clockRate: 90000,
parameters: {
‘packetization-mode’: 1,
‘profile-level-id’: ‘42001f’
}
}
],
// mediasoup per Peer max sending bitrate (in bps).
maxBitrate: 500000
}
};