Statistics
| Branch: | Revision:

janus-gateway / conf / janus.transport.websockets.cfg.sample.in @ 88b5da7b

History | View | Annotate | Download (2.11 KB)

1
; WebSockets stuff: whether they should be enabled, which ports they
2
; should use, and so on.
3
[general]
4
json = indented				; Whether the JSON messages should be indented (default),
5
							; plain (no indentation) or compact (no indentation and no spaces)
6
ws = yes					; Whether to enable the WebSockets API
7
ws_port = 8188				; WebSockets server port
8
;ws_interface = eth0		; Whether we should bind this server to a specific interface only
9
;ws_ip = 192.168.0.1		; Whether we should bind this server to a specific IP address only
10
wss = no					; Whether to enable secure WebSockets
11
;wss_port = 8989;			; WebSockets server secure port, if enabled
12
;wss_interface = eth0		; Whether we should bind this server to a specific interface only
13
;wss_ip = 192.168.0.1		; Whether we should bind this server to a specific IP address only
14
;ws_logging = 7				; libwebsockets debugging level (0 by default)
15
;ws_acl = 127.,192.168.0.	; Only allow requests coming from this comma separated list of addresses
16

    
17
; If you want to expose the Admin API via WebSockets as well, you need to
18
; specify a different server instance, as you cannot mix Janus API and
19
; Admin API messaging. Notice that by default the Admin API support via
20
; WebSockets is disabled.
21
[admin]
22
admin_ws = no					; Whether to enable the Admin API WebSockets API
23
admin_ws_port = 7188			; Admin API WebSockets server port, if enabled
24
;admin_ws_interface = eth0		; Whether we should bind this server to a specific interface only
25
;admin_ws_ip = 192.168.0.1		; Whether we should bind this server to a specific IP address only
26
admin_wss = no					; Whether to enable the Admin API secure WebSockets
27
;admin_wss_port = 7989			; Admin API WebSockets server secure port, if enabled
28
;admin_wss_interface = eth0		; Whether we should bind this server to a specific interface only
29
;admin_wss_ip = 192.168.0.1		; Whether we should bind this server to a specific IP address only
30
;admin_ws_acl = 127.,192.168.0.	; Only allow requests coming from this comma separated list of addresses
31

    
32
; Certificate and key to use for any secure WebSocket server, if needed.
33
[certificates]
34
cert_pem = @certdir@/mycert.pem
35
cert_key = @certdir@/mycert.key