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 #536 from meetecho/event-handlers
Event handler plugins
- Loading branch information
Showing
36 changed files
with
2,453 additions
and
103 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
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,34 @@ | ||
; This configures the sample event handler. Since this plugin simply | ||
; forwards each event it receives via HTTP POST, you simply need to | ||
; configure (i) which events to subscribe to, and (ii) the address of | ||
; the web server which will receive the requests. | ||
|
||
[general] | ||
enabled = no ; By default the module is not enabled | ||
events = all ; Comma separated list of the events mask you're interested | ||
; in. Valid values are none, sessions, handles, jsep, webrtc, | ||
; media, plugins, transports, core and all. By default we | ||
; subscribe to everything (all) | ||
grouping = no ; Whether events should be sent individually (one per | ||
; HTTP POST, JSON object), or if it's ok to group them | ||
; (one or more per HTTP POST, JSON array with objects) | ||
backend = http://your.webserver.here/and/a/path | ||
; Address the plugin will send all events to as HTTP POST | ||
; requests with an application/json payload. In case | ||
; authentication is required to contact the backend, set | ||
; the credentials as well (basic authentication only). | ||
;backend_user = myuser | ||
;backend_pwd = mypwd | ||
; You can also configure how retransmissions should | ||
; happen, after a failed attempt to deliver an event. | ||
; Specifically, you can specify how many times a | ||
; retransmission should be attempted (default=5) and | ||
; which step is used, in milliseconds, for the exponential | ||
; backoff before retrying (e.g, if step=100ms, then the | ||
; the first retry will happen after 100ms, the second | ||
; after 200ms, then 400ms, and so on). If the event cannot | ||
; be retransmitted after the maximum number of attemps | ||
; is reached, then it's lost. Beware that retransmissions | ||
; will also delay pending events and increase the queue. | ||
;max_retransmisson = 5 | ||
;retransmissions_backoff = 100 |
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
; The Echo Test plugin doesn't need any configuration | ||
; events = yes|no, whether events should be sent to event handlers | ||
|
||
[general] | ||
;events = no |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
; path = where to place recordings in the file system | ||
; events = yes|no, whether events should be sent to event handlers | ||
|
||
[general] | ||
path = @recordingsdir@ | ||
;events = no |
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
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
; The Video Call plugin doesn't need any configuration | ||
; events = yes|no, whether events should be sent to event handlers | ||
|
||
[general] | ||
;events = no |
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
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.