WIP: testing new resolution config
This commit is contained in:
parent
5dc2f0ac47
commit
6a2326c4b3
6 changed files with 38 additions and 13 deletions
|
@ -10,8 +10,8 @@ const TURN_USER: string = process.env.TURN_USER || '';
|
|||
const TURN_PASSWORD: string = process.env.TURN_PASSWORD || '';
|
||||
const JITSI_URL : string|undefined = (process.env.JITSI_URL === '') ? undefined : process.env.JITSI_URL;
|
||||
const JITSI_PRIVATE_MODE : boolean = process.env.JITSI_PRIVATE_MODE == "true";
|
||||
const RESOLUTION = 2;
|
||||
const ZOOM_LEVEL = 1/*3/4*/;
|
||||
const RESOLUTION = 1 / window.devicePixelRatio;
|
||||
const ZOOM_LEVEL = 2 * window.devicePixelRatio/*3/4*/;
|
||||
const POSITION_DELAY = 200; // Wait 200ms between sending position events
|
||||
const MAX_EXTRAPOLATION_TIME = 100; // Extrapolate a maximum of 250ms if no new movement is sent by the player
|
||||
export const MAX_USERNAME_LENGTH = parseInt(process.env.MAX_USERNAME_LENGTH || '') || 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue