AminArria / janus_erlang_wrapper_demo

Demo for a Erlang app wrapping Janus
Apache License 2.0
20 stars 8 forks source link

TurnServer #2

Open Fed0t opened 3 years ago

Fed0t commented 3 years ago

Hy, You have in Dockerfile

RUN apt install -y coturn \
    && turnadmin -a -u bob -p 1234 -r usa \
    && turnserver -o

Do I need to config janus.jcfg under Nat section for nat_1_1_mapping and also i need to set turn_server as in Dockerfile?

#turn_server = "myturnserver.com"
#turn_port = 3478
#turn_type = "udp"
#turn_user = "myuser"
#turn_pwd = "mypassword"

And also I should remove the line from Dockerfile ?

command: "/opt/janus/bin/janus -S stun.l.google.com:19302"

Thanks!

AminArria commented 3 years ago

Actually, I'm not sure. If you can try it out and report back it would be great.

Otherwise, I might be able to try it out next week