Tweak player options to fit live view

This commit is contained in:
Nick Mowen 2022-10-14 09:29:56 -06:00
parent 8946f09eec
commit 2096701c79

View File

@ -101,6 +101,9 @@ export default function Camera({ camera }) {
<VideoPlayer
options={{
autoplay: true,
preload: 'metadata',
poster: `${apiHost}/api/${camera}/latest.jpg`,
playbackRates: [1],
sources: [
{
src: `${apiHost}/restream/${camera}`,