Hi All,
I’m having some issue receiving AV whilst producing. This is failing due to the fact I’m not passing correct listening ip.
My nodejs server is in a docker container running on my local machine. I have passed in the docker container 172.18.x.x address, have also tried my private ipaddress, though they connects but unable to produce. It keeps failing in the producerTransport event.
By the way, i’m using the documentation @ibc and have made quite a lot of progress already. The sample also provide a good understanding.
Attached here’s my docker-compose.yml
version: "3"
services:
# Nginx web server acting as a reverse proxy for "web" and "api" services
nginx:
image: nginx
read_only: false
depends_on:
- api
ports:
- "8080:80"
- "8443:443"
# Data API and authentication/authorization
api:
image: node:12.18.3
hostname: api
depends_on:
- db
- redis
links:
- db
- redis
environment:
- DEBUG=*live-server*
- NODE_DEBUG=true
- NODE_ENV=development
- REDIS_URL_SUBS=redis://redis:6379/4
- ENABLE_DB_DEBUG=true
expose:
- "8080"
- "3000"
- "5000"
ports:
- "127.0.0.1:9229:9229" # V8 inspector (when NODE_DEBUG=true)
- "127.0.0.1:57777:57777"
user: node
working_dir: /usr/src/app
command: node tools/run.js
redis:
image: redis:3.2.8-alpine
read_only: true
volumes:
- redis:/data
user: redis
volumes:
redis:
yarn:
And my webRtcTransportOptions
config…
webRtcTransportOptions: {
listenIps: [
{
ip: "192.168.x.x", // private ip
announcedIp: null,
},
],
enableUdp: true,
enableTcp: true,
preferUdp: true,
initialAvailableOutgoingBitrate: 1000000,
minimumAvailableOutgoingBitrate: 600000,
maxSctpMessageSize: 262144,
maxIncomingBitrate: 1500000,
},
Would appreciate any help.