Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1270 from meetecho/nanomsg
New Nanomsg transport plugin
- Loading branch information
Showing
6 changed files
with
604 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
; You can also control a Janus instance using Nanomsg sockets. The only | ||
; aspect you need to configure here is the address to use for the | ||
; communication, and whether the address should be used to bind locally | ||
; or to connect to a remote endpoint. Notice that the only supported | ||
; pattern is NN_PAIR, so you'll only be able to have a single client | ||
; controlling the API with this plugin. As usual, both Janus API and Admin | ||
; API endpoints can be configured. | ||
[general] | ||
enabled = yes ; Whether to enable the Nanomsg interface | ||
; for Janus API clients | ||
json = indented ; Whether the JSON messages should be indented (default), | ||
; plain (no indentation) or compact (no indentation and no spaces) | ||
;mode = bind ; Whether we should 'bind' to the specified | ||
; address (default), or connect to it if remote | ||
address = ipc:///tmp/janus.ipc ; Address to use (Janus API), refer | ||
; to the Nanomsg documentation for more info | ||
; on different transports you can use here | ||
|
||
; As with other transport plugins, you can use Nanomsg to interact with | ||
; the Admin API as well: in case you're interested in it, a different | ||
; address needs to be provided. | ||
[admin] | ||
admin_enabled = no ; Whether to enable the Nanomsg interface | ||
; for Admin API clients | ||
;admin_mode = bind | ||
;admin_address = ipc:///tmp/janus-admin.ipc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.