Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (949 Bytes)

1
; You can also control a Janus instance using Unix Sockets. The only
2
; aspect you need to configure here is the path of the Unix Sockets
3
; server.
4
[general]
5
enabled = yes					; Whether to enable the Unix Sockets interface
6
								; for Janus API clients
7
json = indented					; Whether the JSON messages should be indented (default),
8
								; plain (no indentation) or compact (no indentation and no spaces)
9
path = /tmp/ux-janusapi			; Path to bind to (Janus API)
10
;type = SOCK_SEQPACKET			; SOCK_SEQPACKET (default) or SOCK_DGRAM?
11

    
12
; As with other transport plugins, you can use Unix Sockets to interact
13
; with the Admin API as well: in case you're interested in it, a different
14
; path needs to be provided.
15
[admin]
16
admin_enabled = no				; Whether to enable the Unix Sockets interface
17
								; for Admin API clients
18
admin_path = /tmp/ux-janusadmin	; Path to bind to (Admin API)
19
;admin_type = SOCK_SEQPACKET	; SOCK_SEQPACKET (default) or SOCK_DGRAM?