Skip to content

Commit 49b8363

Browse files
authored
Enable singlePC mode for meet also on prod (#493)
* Enable singlePC mode for meet also on prod * fix
1 parent aa9be8c commit 49b8363

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/custom/VideoConferenceClientImpl.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import { KeyboardShortcuts } from '@/lib/KeyboardShortcuts';
1616
import { SettingsMenu } from '@/lib/SettingsMenu';
1717
import { useSetupE2EE } from '@/lib/useSetupE2EE';
1818
import { useLowCPUOptimizer } from '@/lib/usePerfomanceOptimiser';
19-
import { isMeetStaging } from '@/lib/client-utils';
2019

2120
export function VideoConferenceClientImpl(props: {
2221
liveKitUrl: string;
@@ -44,7 +43,7 @@ export function VideoConferenceClientImpl(props: {
4443
worker,
4544
}
4645
: undefined,
47-
singlePeerConnection: isMeetStaging(),
46+
singlePeerConnection: true,
4847
};
4948
}, [e2eeEnabled, props.codec, keyProvider, worker]);
5049

app/rooms/[roomName]/PageClientImpl.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import React from 'react';
4-
import { decodePassphrase, isMeetStaging } from '@/lib/client-utils';
4+
import { decodePassphrase } from '@/lib/client-utils';
55
import { DebugMode } from '@/lib/Debug';
66
import { KeyboardShortcuts } from '@/lib/KeyboardShortcuts';
77
import { RecordingIndicator } from '@/lib/RecordingIndicator';
@@ -129,7 +129,7 @@ function VideoConferenceComponent(props: {
129129
adaptiveStream: true,
130130
dynacast: true,
131131
e2ee: keyProvider && worker && e2eeEnabled ? { keyProvider, worker } : undefined,
132-
singlePeerConnection: isMeetStaging(),
132+
singlePeerConnection: true,
133133
};
134134
}, [props.userChoices, props.options.hq, props.options.codec]);
135135

0 commit comments

Comments
 (0)