1.自动删除最旧的录像文件的功能

2.增加字段用于区分record对象是自动的普通录像还是事件录像
3.修复自动录像时,订阅却订阅失败时会生成小文件的问题
This commit is contained in:
pg
2024-10-02 10:45:21 +08:00
parent b15c776865
commit 9b33cbd5db
13 changed files with 264 additions and 100 deletions

10
raw.go
View File

@@ -13,6 +13,16 @@ type RawRecorder struct {
IsAudio bool
}
func (r *RawRecorder) SetId(string) {
//TODO implement me
panic("implement me")
}
func (r *RawRecorder) GetRecordModeString(mode RecordMode) string {
//TODO implement me
panic("implement me")
}
func (r *RawRecorder) StartWithDynamicTimeout(streamPath, fileName string, timeout time.Duration) error {
//TODO implement me
panic("implement me")