mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35:22 +03:00
Tweak player options to fit live view
This commit is contained in:
parent
8946f09eec
commit
2096701c79
@ -101,6 +101,9 @@ export default function Camera({ camera }) {
|
|||||||
<VideoPlayer
|
<VideoPlayer
|
||||||
options={{
|
options={{
|
||||||
autoplay: true,
|
autoplay: true,
|
||||||
|
preload: 'metadata',
|
||||||
|
poster: `${apiHost}/api/${camera}/latest.jpg`,
|
||||||
|
playbackRates: [1],
|
||||||
sources: [
|
sources: [
|
||||||
{
|
{
|
||||||
src: `${apiHost}/restream/${camera}`,
|
src: `${apiHost}/restream/${camera}`,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user