Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🐛(frontend) tune connection parameters for low bandwidth clients

lebaudantoine86cda75b39e0
diff --git a/src/frontend/src/features/rooms/components/Conference.tsx b/src/frontend/src/features/rooms/components/Conference.tsx
index 71ea9391..7e966ee4 100644
--- a/src/frontend/src/features/rooms/components/Conference.tsx
+++ b/src/frontend/src/features/rooms/components/Conference.tsx
@@ -89,6 +89,13 @@ export const Conference = ({
)
}
+ // Some clients (like DINUM) operate in bandwidth-constrained environments
+ // These settings help ensure successful connections in poor network conditions
+ const connectOptions = {
+ maxRetries: 5, // Default: 1. Only for unreachable server scenarios
+ peerConnectionTimeout: 60000, // Default: 15s. Extended for slow TURN/TLS negotiation
+ }
+
return (
<QueryAware status={isFetchError ? createStatus : fetchStatus}>
<Screen header={false}>
@@ -99,6 +106,7 @@ export const Conference = ({
connect={true}
audio={userConfig.audioEnabled}
video={userConfig.videoEnabled}
+ connectOptions={connectOptions}
>
<VideoConference />
{showInviteDialog && (