Publish audio and video when connecting with custom connection details (#37)

This commit is contained in:
lukasIO 2023-03-17 14:45:50 +01:00 committed by GitHub
parent 000a759bcb
commit bef0e4cc1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ export default function CustomRoomConnection() {
return (
<main data-lk-theme="default">
{liveKitUrl && (
<LiveKitRoom token={token} serverUrl={liveKitUrl}>
<LiveKitRoom token={token} serverUrl={liveKitUrl} audio={true} video={true}>
<VideoConference chatMessageFormatter={formatChatMessageLinks} />
<DebugMode logLevel={LogLevel.info} />
</LiveKitRoom>