Repair connectivity correctly v1
This commit is contained in:
@@ -40,6 +40,8 @@ export const DATA_CHANNEL_LABEL = 'chat';
|
||||
export const DATA_CHANNEL_HIGH_WATER_BYTES = 4 * 1024 * 1024; // 4 MB
|
||||
/** Low-water mark (bytes) - resume sending once buffered amount drops below this */
|
||||
export const DATA_CHANNEL_LOW_WATER_BYTES = 1 * 1024 * 1024; // 1 MB
|
||||
/** Grace period before recreating a peer whose data channel closed while media may still be flowing. */
|
||||
export const DATA_CHANNEL_RECOVERY_GRACE_MS = 2_500;
|
||||
|
||||
export const SCREEN_SHARE_IDEAL_WIDTH = 1920;
|
||||
export const SCREEN_SHARE_IDEAL_HEIGHT = 1080;
|
||||
|
||||
Reference in New Issue
Block a user