aboutsummaryrefslogtreecommitdiff
path: root/cast/protocol/castv2/streaming_schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'cast/protocol/castv2/streaming_schema.json')
-rw-r--r--cast/protocol/castv2/streaming_schema.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/cast/protocol/castv2/streaming_schema.json b/cast/protocol/castv2/streaming_schema.json
index 7044c8ea..6a1a0db5 100644
--- a/cast/protocol/castv2/streaming_schema.json
+++ b/cast/protocol/castv2/streaming_schema.json
@@ -27,7 +27,7 @@
"properties": {
"index": {"type": "integer", "minimum": 0},
"type": {"type": "string", "enum": ["audio_source", "video_source"]},
- "codecName": {"type": "string"},
+ "codecName": {"type": "string", "enum": ["aac", "opus", "h264", "vp8", "hevc", "vp9", "av1"]},
"rtpProfile": {"type": "string", "enum": ["cast"]},
"rtpPayloadType": {"type": "integer", "minimum": 96, "maximum": 127},
"ssrc": {"$ref": "#/definitions/ssrc"},
@@ -272,4 +272,4 @@
"then": {"required": ["rpc"]}
}
]
-} \ No newline at end of file
+}