Use webrtc for safari live view (#9839)

* Move safari function

* Use webrtc for safari

* Use taller aspect ratio for tall thumbnails

* Simplify thumbnail sizing

* Use correct aspect ratio on all devices
This commit is contained in:
Nicolas Mowen
2024-02-14 17:19:55 -07:00
committed by GitHub
parent 764736b223
commit 8c4811ed69
6 changed files with 38 additions and 33 deletions

View File

@@ -87,6 +87,7 @@ export default function LivePlayer({
<WebRtcPlayer
className={`rounded-2xl h-full ${liveReady ? "" : "hidden"}`}
camera={cameraConfig.live.stream_name}
playbackEnabled={cameraActive}
onPlaying={() => setLiveReady(true)}
/>
);