mirror of https://github.com/sualko/cloud_bbb
parent
96a3a4527d
commit
0f4c1682f5
|
@ -70,11 +70,12 @@ check if those values are correct. Therefore this is not the recommended way.
|
|||
The syntax to set all settings is `occ config:app:set bbb KEY --value "VALUE"`.
|
||||
|
||||
Key | Description
|
||||
--------------------- | ------------------------------------------------------------------------------------
|
||||
--------------------------------- | ------------------------------------------------------------------------------------
|
||||
`app.navigation` | Set to `true` to show navigation entry
|
||||
`app.navigation.name` | Defines the navigation label. Default "BigBlueButton".
|
||||
`api.url` | URL to your BBB server. Should start with `https://`
|
||||
`api.secret` | Secret of your BBB server
|
||||
`api.meta_analytics-callback-url` | URL which gets called after meetings ends to generate statistics. See [bbb-analytics](https://github.com/betagouv/bbb-analytics).
|
||||
`app.shortener` | Value of your shortener service. Should start with `https://` and contain `{token}`.
|
||||
`avatar.path` | Absolute path to an optional avatar cache directory.
|
||||
`avatar.url` | URL which serves `avatar.path` to be used as avatar cache.
|
||||
|
|
|
@ -175,6 +175,13 @@ class API {
|
|||
$createMeetingParams->addMeta('bbb-origin', \method_exists($this->defaults, 'getProductName') ? $this->defaults->getProductName() : 'Nextcloud');
|
||||
$createMeetingParams->addMeta('bbb-origin-server-name', $this->request->getServerHost());
|
||||
|
||||
$analyticsCallbackUrl = $this->config->getAppValue('bbb', 'api.meta_analytics-callback-url');
|
||||
if (!empty($analyticsCallbackUrl)) {
|
||||
// For more details: https://github.com/bigbluebutton/bigbluebutton/blob/develop/record-and-playback/core/scripts/post_events/post_events_analytics_callback.rb
|
||||
$createMeetingParams->addMeta('analytics-callback-url', $analyticsCallbackUrl);
|
||||
$createMeetingParams->setMeetingKeepEvents(true);
|
||||
}
|
||||
|
||||
$mac = $this->crypto->calculateHMAC($room->uid);
|
||||
|
||||
$endMeetingUrl = $this->urlGenerator->linkToRouteAbsolute('bbb.hook.meetingEnded', ['token' => $room->uid, 'mac' => $mac]);
|
||||
|
|
Loading…
Reference in New Issue