Testing local file playback

This commit is contained in:
tsightler
2023-01-04 20:19:14 -05:00
parent e71c3416be
commit 008cdd5744
2 changed files with 1 additions and 2 deletions

View File

@@ -680,8 +680,7 @@ export default class Camera extends RingPolledDevice {
try {
this.data.stream.event.session = spawn(pathToFfmpeg, [
'-re',
'-i', dirname(fileURLToPath(new URL('.', import.meta.url)))+'/media/vid.mp4',
'-i', this.data.event_select.recordingUrl,
'-i', dirname(fileURLToPath(new URL('.', import.meta.url)))+'/media/test.mp4',
'-map', '0:v',
'-map', '0:a',
'-map', '0:a',

BIN
media/test.mp4 Normal file

Binary file not shown.