Skip to content

Commit

Permalink
Add MQTT v5 support to MQTT event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
feymartynov committed Jun 8, 2020
1 parent dadbca5 commit b8e8f6e
Show file tree
Hide file tree
Showing 2 changed files with 359 additions and 130 deletions.
4 changes: 4 additions & 0 deletions conf/janus.eventhandler.mqttevh.jcfg.sample
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ general: {
# plain (no indentation) or compact (no indentation and no spaces)

url = "tcp://localhost:1883" # The URL of the MQTT server. Only tcp supported at this time.
#mqtt_version = "3.1.1" # Protocol version. Available values: 3.1, 3.1.1 (default), 5.
client_id = "janus.example.com" # Janus client id. You have to configure a unique ID (default: guest).
#keep_alive_interval = 20 # Keep connection for N seconds (default: 30)
#cleansession = 0 # Clean session flag (default: off)
Expand Down Expand Up @@ -46,4 +47,7 @@ general: {
#tls_client_key = "/path/to/key.pem"
#tls_ciphers
#tls_version

# These options work with MQTT 5 only.
#add_user_properties = () # List of user property ["key", "value"] pairs to add.
}
Loading

0 comments on commit b8e8f6e

Please sign in to comment.