trim recordings to match the requested range

This matches the default behavior of the old UI. It's not configurable.
I'm not sure anyone ever deliberately unchecked that box.
This commit is contained in:
Scott Lamb
2021-03-13 22:25:05 -08:00
parent 182ed23a06
commit a13733d434
4 changed files with 91 additions and 7 deletions

View File

@@ -153,7 +153,8 @@ const Main = ({ cameras, timeZoneName }: Props) => {
src={api.recordingUrl(
activeRecording[0].camera.uuid,
activeRecording[0].streamType,
activeRecording[1]
activeRecording[1],
range90k!
)}
/>
</Modal>