Hi everyone
I have built a simple broadcasting platform with Mediasoup and I am now trying to set it up on Digital Ocean inside of a Docker container.
Locally, everything works without a hitch.
On Digital Ocean I am able to connect and initiate a connection but when creating a transport as a producer, it is stuck on producing and when creating a consumer it is stuck on subscribing.
After googling and reading the docs, I think this has something to do with the listen and announced ip’s not being properly set up? But as there is no real documentation on Docker and Digital Ocean, I am not sure how to proceed here.
I figured the announced ip might be my digital ocean droplet ip but that doesn’t seem to do the trick.
Right now, my setup looks like this:
const mediaCodecs: RtpCodecCapability[] = [
{
kind: 'audio',
mimeType: 'audio/opus',
clockRate: 48000,
channels: 2,
},
{
kind: 'video',
mimeType: 'video/VP8',
clockRate: 90000,
parameters: {
'x-google-start-bitrate': 1000,
},
},
];
const webRtcTransport = {
listenIps: [{ ip: '127.0.0.1', announcedIp: null }],
enableUdp: true,
enableTcp: true,
preferUdp: true,
maxIncomingBitrate: 1500000,
initialAvailableOutgoingBitrate: 1000000,
};
const workerConfig = {
rtcMinPort: 40000,
rtcMaxPort: 49999,
};
Any help would be extremely welcome.