Add jitsi config options

This commit is contained in:
IceDBorn 2023-03-20 12:56:19 +02:00
parent 2e305cd0f9
commit 881255547b

View file

@ -68,12 +68,44 @@ function Room() {
return ( return (
<JitsiMeeting <JitsiMeeting
domain="meet.calyx.net" domain="meet.calyx.net"
roomName={`${roomTimeline.roomName } ${ roomTimeline.roomId.replace(':matrix.org', '')}`} roomName={`${roomTimeline.roomName} ${roomTimeline.roomId.replace(':matrix.org', '')}`}
configOverwrite={{ configOverwrite={{
startWithAudioMuted: true, disableReactions: true,
disableModeratorIndicator: true, disablePolls: true,
startScreenSharing: true, prejoinConfig: { enabled: false },
enableEmailInStats: false, liveStreaming: { enabled: false },
constraints: {
video: {
height: {
ideal: 1080,
max: 2160,
min: 720,
},
},
},
maxBitratesVideo: {
H264: {
low: 200000,
standard: 500000,
high: 1500000,
},
VP8: {
low: 200000,
standard: 500000,
high: 1500000,
},
VP9: {
low: 100000,
standard: 300000,
high: 1200000,
},
},
desktopSharingFrameRate: {
min: 30,
max: 60,
},
resolution: 1080,
}} }}
interfaceConfigOverwrite={{ interfaceConfigOverwrite={{
DISABLE_JOIN_LEAVE_NOTIFICATIONS: true, DISABLE_JOIN_LEAVE_NOTIFICATIONS: true,