Merge fediventure/feature/federation-jitsi
dynamically choose jitsi instance by jitsiUrl map property https://gitlab.com/fediventure/workadventure/-/merge_requests/1
This commit is contained in:
parent
8f44a8fdc6
commit
b020120366
2 changed files with 6 additions and 5 deletions
|
@ -12,6 +12,7 @@ import {CurrentGamerInterface, hasMovedEventName, Player} from "../Player/Player
|
|||
import {
|
||||
DEBUG_MODE,
|
||||
JITSI_PRIVATE_MODE,
|
||||
JITSI_URL,
|
||||
POSITION_DELAY,
|
||||
RESOLUTION,
|
||||
ZOOM_LEVEL
|
||||
|
@ -1206,7 +1207,8 @@ export class GameScene extends ResizableScene implements CenterListener {
|
|||
}
|
||||
|
||||
public startJitsi(roomName: string, jwt?: string): void {
|
||||
jitsiFactory.start(roomName, this.playerName, jwt);
|
||||
const jitsiUrl = getMapProperty(this.mapFile, 'jitsiUrl', 'string', JITSI_URL);
|
||||
jitsiFactory.start(jitsiUrl, roomName, this.playerName, jwt);
|
||||
this.connection.setSilent(true);
|
||||
mediaManager.hideGameOverlay();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue