Statistics
| Branch: | Revision:

janus-gateway / conf / janus.transport.mqtt.cfg.sample @ 8382fba1

History | View | Annotate | Download (1.22 KB)

1
; Configuration of the MQTT additional transport for the Janus API.
2
[general]
3
enable = no							; Whether the support must be enabled
4
json = indented						; Whether the JSON messages should be indented (default),
5
									; plain (no indentation) or compact (no indentation and no spaces)
6

    
7
url = tcp://localhost:1883			; The connection URL of the MQTT broker
8
;client_id = guest					; Client identifier
9
;username = guest					; Username to use to authenticate, if needed
10
;password = guest					; Password to use to authenticate, if needed
11
;keep_alive_interval = 20			; Keep connection for N seconds
12
;cleansession = 0					; Clean session flag
13
;disconnect_timeout = 100			; Seconds to wait before destroying client
14
subscribe_topic = to-janus			; Topic for incoming messages
15
;subscribe_qos = 1					; QoS for incoming messages
16
publish_topic = from-janus			; Topic for outgoing messages
17
;publish_qos = 1					; QoS for outgoing messages
18

    
19
[admin]
20
;admin_enable = no					; Whether the support must be enabled
21
subscribe_topic = to-janus-admin	; Topic for incoming admin messages
22
;subscribe_qos = 1					; QoS for incoming admin messages
23
publish_topic = from-janus-admin	; Topic for outgoing admin messages
24
;publish_qos = 1					; QoS for outgoing admin messages