Statistics
| Branch: | Revision:

peerstreamer-src / Tools / janus_conf / janus.transport.pfunix.cfg @ 2123cd4e

History | View | Annotate | Download (1.05 KB)

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. Notice that by default the interface is disabled, as you need
4
; to specify the path(s) to bind to for the API(s).
5
[general]
6
enabled = yes					; Whether to enable the Unix Sockets interface
7
								; for Janus API clients
8
json = indented					; Whether the JSON messages should be indented (default),
9
								; plain (no indentation) or compact (no indentation and no spaces)
10
path = /tmp/janus               ; Path to bind to (Janus API)
11
;type = SOCK_SEQPACKET			; SOCK_SEQPACKET (default) or SOCK_DGRAM?
12

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