Skip to content

Commit

Permalink
event_sync, docs: dont use underscore in the domain name
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahcom authored and shawnchin committed Mar 18, 2024
1 parent 516704c commit c605997
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions event_sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ be destroyed when the main room and all associated breakout rooms are empty.
_/etc/prosody/conf.d/meet.mydomain.com.cfg.lua_

```lua
Component "event_sync.meet.mydomain.com" "event_sync_component"
Component "esync.meet.mydomain.com" "event_sync_component"
muc_component = "conference.meet.mydomain.com"
api_prefix = "http://your.api.server/api"
```
Expand All @@ -181,25 +181,25 @@ be destroyed when the main room and all associated breakout rooms are empty.
Here's an example of the prosody config with optional configs values set:
```lua
Component "event_sync.meet.mydomain.com" "event_sync_component"
Component "esync.meet.mydomain.com" "event_sync_component"
muc_component = "conference.meet.mydomain.com"
breakout_component = "breakout.meet.mydomain.com"
api_prefix = "http://your.api.server/api"
--- The following are all optional
api_headers = {
["Authorization"] = "Bearer TOKEN-237958623045";
}
api_timeout = 10 -- timeout if API does not respond within 10s
api_retry_count = 5 -- retry up to 5 times
api_retry_delay = 1 -- wait 1s between retries
-- change retry rules so we also retry if endpoint returns HTTP 408
api_should_retry_for_code = function (code)
return code >= 500 or code == 408
end
-- Optionally include total_dominant_speaker_time (milliseconds) in payload for occupant-left and room-destroyed
include_speaker_stats = true
```
6 changes: 3 additions & 3 deletions event_sync/mod_event_sync_component.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
--
-- Example config:
--
-- Component "event_sync.mydomain.com" "event_sync_component"
-- muc_component = "conference.mydomain.com"
-- breakout_component = "breakout.mydomain.com"
-- Component "esync.meet.mydomain.com" "event_sync_component"
-- muc_component = "conference.meet.mydomain.com"
-- breakout_component = "breakout.meet.mydomain.com"
--
-- api_prefix = "http://external_app.mydomain.com/api"
--
Expand Down

0 comments on commit c605997

Please sign in to comment.