Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Commit

Permalink
Add websocket vars. (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeanwallace authored Apr 26, 2022
1 parent 5320c53 commit a22e9ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ janus_api_secret: null
janus_token_auth_secret: null
janus_admin_secret: null

janus_ws_ip: '0.0.0.0'
janus_ws_port: 8188

janus_conf_var:
janus:
plugins_folder: "{{ janus_install_dir }}/lib/janus/plugins"
Expand Down
4 changes: 2 additions & 2 deletions templates/janus.transport.websockets.jcfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ general: {
#pingpong_timeout = 10 # After how many seconds of not getting a PONG, a timeout should be detected

ws = true # Whether to enable the WebSockets API
ws_port = 8188 # WebSockets server port
ws_port = {{ janus_ws_port }} # WebSockets server port
#ws_interface = "eth0" # Whether we should bind this server to a specific interface only
#ws_ip = "192.168.0.1" # Whether we should bind this server to a specific IP address only
ws_ip = "{{ janus_ws_ip }}" # Whether we should bind this server to a specific IP address only
#ws_unix = "/run/ws.sock" # Use WebSocket server over UNIX socket instead of TCP
wss = false # Whether to enable secure WebSockets
#wss_port = 8989 # WebSockets server secure port, if enabled
Expand Down

0 comments on commit a22e9ef

Please sign in to comment.