media/record: fix esp32-cam recorder
This commit is contained in:
parent
93b5eb4bc5
commit
41e6b2aea1
@ -450,4 +450,8 @@ class ESP32CameraRecording(Recording):
|
||||
|
||||
def get_command(self, output: str) -> str:
|
||||
bin = config['esp32_capture']['bin']
|
||||
return f'{bin} --addr {self.stream_addr[0]}:{self.stream_addr[1]} --output-directory {output} >/dev/null 2>/dev/null'
|
||||
return f'{bin} --addr {self.stream_addr[0]}:{self.stream_addr[1]} --output-directory {output} >/dev/null 2>/dev/null'
|
||||
|
||||
def start(self, output: str):
|
||||
output = os.path.dirname(output)
|
||||
return super().start(output)
|
Loading…
x
Reference in New Issue
Block a user