-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neither sending nor receiving video #23
Comments
Also I was able to run the mediasoup-demo without problem. But this one is not working and this is my config.js file: module.exports = {
listenIp: '0.0.0.0',
listenPort: 3000,
sslCrt: '/service/certs/fullchain.pem',
sslKey: '/service/certs/privkey.pem',
mediasoup: {
// Worker settings
worker: {
rtcMinPort: 10000,
rtcMaxPort: 10100,
logLevel: 'warn',
logTags: [
'info',
'ice',
'dtls',
'rtp',
'srtp',
'rtcp',
// 'rtx',
// 'bwe',
// 'score',
// 'simulcast',
// 'svc'
],
},
// Router settings
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 settings
webRtcTransport: {
listenIps: [
{
ip: '127.0.0.1',
announcedIp: '192.168.43.225',
}
],
maxIncomingBitrate: 1500000,
initialAvailableOutgoingBitrate: 1000000,
}
}
}; |
Except the server is behind NAT or proxy you don't need to set the |
I changed the config.js with this: listenIps: [
{
ip: '192.168.43.225',
announcedIp: null,
}
],
|
Sorry! My mistake. I forgot to forward the rtc min and max port for docker. |
Also it works only when I set listenIps to something like: listenIps: [
{
ip: '0.0.0.0',
announcedIp: '192.168.43.225',
}
], Can you please give some insight about Ip and announcedIp?
I found this in FAQ of mediasoup |
When the server has several IPs then |
I am using Docker on Windows to run the app. After pressing Start Webcam only webcam starts but noting happens. Same for Subscribe.
Nothing is printed to server console.
Chrome console says "mediasoup-client: Transport connection state changed to disconnected"
Help please :)
The text was updated successfully, but these errors were encountered: