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

cannot connect to room, error #589

Open
themass opened this issue Jan 18, 2025 · 0 comments
Open

cannot connect to room, error #589

themass opened this issue Jan 18, 2025 · 0 comments

Comments

@themass
Copy link

themass commented Jan 18, 2025

I am using Java to write the code, and I tried to use the LiveKit room, but I failed. Using Java with the LiveKit SDK is too difficult.

LiveKit.INSTANCE.init(this);
Room room = LiveKit.INSTANCE.create(this, new RoomOptions(), new LiveKitOverrides());
String url = "xxx";
String token = "xxxxx";

    room.connect(url, token, new ConnectOptions(), null);
    room.getLocalParticipant().setCameraEnabled(true, null);
    room.getLocalParticipant().setMicrophoneEnabled(true,null);
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