Disable red when e2ee is enabled (#114)
* disable red when e2ee is enabled * disable red when e2ee is enabled
This commit is contained in:
parent
0c7ef87168
commit
acfff6f8ac
2 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@ export default function CustomRoomConnection() {
|
||||||
return {
|
return {
|
||||||
publishDefaults: {
|
publishDefaults: {
|
||||||
videoSimulcastLayers: [VideoPresets.h540, VideoPresets.h216],
|
videoSimulcastLayers: [VideoPresets.h540, VideoPresets.h216],
|
||||||
|
red: !e2eeEnabled,
|
||||||
},
|
},
|
||||||
adaptiveStream: { pixelDensity: 'screen' },
|
adaptiveStream: { pixelDensity: 'screen' },
|
||||||
dynacast: true,
|
dynacast: true,
|
||||||
|
|
|
@ -104,6 +104,7 @@ const ActiveRoom = ({ roomName, userChoices, onLeave }: ActiveRoomProps) => {
|
||||||
hq === 'true'
|
hq === 'true'
|
||||||
? [VideoPresets.h1080, VideoPresets.h720]
|
? [VideoPresets.h1080, VideoPresets.h720]
|
||||||
: [VideoPresets.h540, VideoPresets.h216],
|
: [VideoPresets.h540, VideoPresets.h216],
|
||||||
|
red: !e2eeEnabled,
|
||||||
},
|
},
|
||||||
audioCaptureDefaults: {
|
audioCaptureDefaults: {
|
||||||
deviceId: userChoices.audioDeviceId ?? undefined,
|
deviceId: userChoices.audioDeviceId ?? undefined,
|
||||||
|
|
Loading…
Reference in a new issue