这是indexloc提供的服务,不要输入任何密码
Skip to content

cannot connect to room, error #589

@themass

Description

@themass

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions