diff options
author | Joas Schilling <coding@schilljs.com> | 2021-05-20 11:46:53 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-14 12:33:12 +0300 |
commit | 07cd488ce20b5da8b9a2df9e6a1b4c101d951bc1 (patch) | |
tree | 33b60069774e4a506327cb4627485da91d749b75 /docs | |
parent | 436b636d61f135d25b84a88d72b15aa301bd97f5 (diff) |
Move config values to the top
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Talkbuchet.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/Talkbuchet.js b/docs/Talkbuchet.js index 93887e3e3..5f1069b03 100644 --- a/docs/Talkbuchet.js +++ b/docs/Talkbuchet.js @@ -124,6 +124,11 @@ password = '' // clustering is enabled. token = '' +// Number of streams to send +publishersCount = 5 +// Number of streams to receive +subscribersPerPublisherCount = 40 + joinRoomUrl = talkOcsApiUrl + 'v3/room/' + token + '/participants/active' async function getSignalingSettings(user, password, token) { @@ -451,7 +456,6 @@ stream = await navigator.mediaDevices.getUserMedia({ video: false, }) -publishersCount = 5 publishers = [] function listenToPublisherConnectionChanges() { @@ -502,7 +506,6 @@ async function initPublishers() { await initPublishers() -subscribersPerPublisherCount = 40 subscribers = [] function listenToSubscriberConnectionChanges() { |