fix lịch ghi hình và ngày lưu
This commit is contained in:
@@ -61,8 +61,13 @@ class MediaMTXConfigView(BaseModel):
|
||||
api_url: str
|
||||
webrtc_url: str
|
||||
record_enabled: bool
|
||||
record_delete_after_days: Optional[int] = None
|
||||
cameras: list[MediaMTXCamera]
|
||||
|
||||
|
||||
class MediaMTXAddCameraRequest(BaseModel):
|
||||
rtsp_url: str = Field(min_length=1, max_length=2048)
|
||||
|
||||
|
||||
class RecordDeleteAfterUpdate(BaseModel):
|
||||
days: int = Field(ge=1, le=7)
|
||||
|
||||
Reference in New Issue
Block a user