New WebRTC Component Changes

This commit is contained in:
2025-10-02 20:29:44 +05:30
parent e996aa00f0
commit d1acde5af1
+2
View File
@@ -25,6 +25,7 @@ const id = `${Math.random().toString(36).slice(2)}`;
.video-wrap { .video-wrap {
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%;
aspect-ratio: 16/9; aspect-ratio: 16/9;
background: black; background: black;
display: flex; display: flex;
@@ -96,6 +97,7 @@ const id = `${Math.random().toString(36).slice(2)}`;
<div class="video-wrap"> <div class="video-wrap">
<video <video
id={"live-video-" + id} id={"live-video-" + id}
style="width: 100%;height: 100%;"
autoplay autoplay
playsinline playsinline
muted muted