cleanup video rendering

This commit is contained in:
talksik
2022-06-19 10:40:25 -05:00
parent edbe7b62c0
commit 73ec1fe08c
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -45,7 +45,8 @@ export default function MainPanel() {
}
function ConversationDetails({ masterConversation }: { masterConversation: MasterConversation }) {
console.log('selected room contents', masterConversation.room);
console.log('selected room contents');
console.log(masterConversation);
return (
<Container maxWidth={'md'}>
@@ -72,5 +73,5 @@ function Video({ stream }: { stream: MediaStream }) {
}
}, [stream]);
return <video ref={videoRef} muted height={'400'} width={'600'} />;
return <video ref={videoRef} muted autoPlay height={'400'} width={'600'} />;
}