I try to deploy a demo mediasoup to heroku
https://livestream-media-server.herokuapp.com/
But broadcast does’t work. it does’t send a correct ice. Here is my mediasoup Options
const mediasoupOptions = {
worker: {
rtcMinPort: 10000,
rtcMaxPort: 59999,
logLevel: 'warn',
logTags: [
'info',
'ice',
'dtls',
'rtp',
'srtp',
'rtcp',
// 'rtx',
// 'bwe',
// 'score',
// 'simulcast',
// 'svc'
],
},
router: {
mediaCodecs:
[
{
kind: 'audio',
mimeType: 'audio/opus',
clockRate: 48000,
channels: 2
},
{
kind: 'video',
mimeType: 'video/VP8',
clockRate: 90000,
parameters:
{
'x-google-start-bitrate': 1000
}
},
]
},
webRtcTransport: {
listenIps: [
{ ip: '127.0.0.1', announcedIp: null }
],
enableUdp: true,
enableTcp: true,
preferUdp: true,
preferTcp: true,
maxIncomingBitrate: 1500000,
initialAvailableOutgoingBitrate: 1000000,
}
};
I think mediasoup need a TURN server to connect.
Ps: sorry my english is very bad.