Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

await room.connect takes more than 4 seconds to connect #601

Open
ArjunBhilare opened this issue Oct 5, 2024 · 0 comments
Open

await room.connect takes more than 4 seconds to connect #601

ArjunBhilare opened this issue Oct 5, 2024 · 0 comments

Comments

@ArjunBhilare
Copy link

ArjunBhilare commented Oct 5, 2024

I am creating a one to one video calling app using flutter_webrtc and Livekit. And I have:

await room.connect(
url,
token,
fastConnectOptions: FastConnectOptions(
microphone: TrackOption(track: _audioTrack),
camera: TrackOption(track: _videoTrack),
),
);

to connect to the room. But this takes more than 4s on average to connect. How can I reduce this time to 1-2s? I have tried removing the fast connection option or setting them to null, but still get the same time to connect. Could someone please help me with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant