Giter Site home page Giter Site logo

Comments (6)

michkish avatar michkish commented on June 20, 2024 1

I think that because janus-gateway is in docker container, the program identifies 172.18.X.X is local ip(172.18.X.X is docker inner ip).

from janus-gateway-docker.

llspalex avatar llspalex commented on June 20, 2024 1

nat_1_1_mapping didn't work for me but setting network_mode to host did work - though I'm not sure why.

from janus-gateway-docker.

mohammadhasanzadeh avatar mohammadhasanzadeh commented on June 20, 2024

I fixed this issue by adding nat_1_1_mapping = "192.168.8.100" in the Janus file.
I'm not sure this is the correct way, but that works.

from janus-gateway-docker.

michkish avatar michkish commented on June 20, 2024

this bug I think should resign to janus dev team, janus program did not know it was in a docker container. Your suggestion also helped me, and I suggest try set network_mode to host also can fix the bug if you use docker-compose.

from janus-gateway-docker.

mohammadhasanzadeh avatar mohammadhasanzadeh commented on June 20, 2024

Yes, for my case, both of the solutions works, but I use the second workaround (network_mode).

from janus-gateway-docker.

alexberezin avatar alexberezin commented on June 20, 2024

Hello! Other thing worked for me - I set STUN server. It turns out, that it's important for docker, because it uses NAT.
Set this parameters in janus.jcfg:
stun_server = "stun.l.google.com"
stun_port = 19302

from janus-gateway-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.