add a monitoring camera setting for cetana
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("live_monitoring", "0001_initial"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="camera",
|
||||
name="protocol",
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
choices=[
|
||||
("rtsp", "RTSP (Real Time Streaming Protocol)"),
|
||||
("rtmp", "RTMP (Real-Time Messaging Protocol)"),
|
||||
("hls", "HLS (HTTP Live Streaming)"),
|
||||
("dash", "MPEG-DASH"),
|
||||
("webrtc", "WebRTC"),
|
||||
("mjpeg", "MJPEG over HTTP"),
|
||||
("http", "HTTP Progressive (MP4/WebM)"),
|
||||
("onvif", "ONVIF Media Profile"),
|
||||
("srt", "SRT (Secure Reliable Transport)"),
|
||||
],
|
||||
default="",
|
||||
help_text="Streaming standard. Leave blank to use the system default protocol.",
|
||||
max_length=32,
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="camera",
|
||||
name="stream_url",
|
||||
field=models.CharField(max_length=1000),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user