diff options
Diffstat (limited to 'cast')
-rw-r--r-- | cast/protocol/castv2/streaming_examples/offer.json | 38 | ||||
-rw-r--r-- | cast/protocol/castv2/streaming_schema.json | 4 |
2 files changed, 39 insertions, 3 deletions
diff --git a/cast/protocol/castv2/streaming_examples/offer.json b/cast/protocol/castv2/streaming_examples/offer.json index d1eba3a7..928c7344 100644 --- a/cast/protocol/castv2/streaming_examples/offer.json +++ b/cast/protocol/castv2/streaming_examples/offer.json @@ -36,9 +36,45 @@ "targetDelay": 400, "timeBase": "1/90000", "type": "video_source" + }, + { + "aesIvMask": "64A6AAC2821880145271BB15B0188821", + "aesKey": "65386FD9BCC30BC7FB6A4DD1D3B0FA5E", + "codecName": "vp9", + "index": 2, + "maxBitRate": 5000000, + "maxFrameRate": "30000/1000", + "receiverRtcpEventLog": true, + "renderMode": "video", + "resolutions": [{"height": 1080, "width": 1920}], + "rtpExtensions": ["adaptive_playout_delay"], + "rtpPayloadType": 96, + "rtpProfile": "cast", + "ssrc": 748230, + "targetDelay": 400, + "timeBase": "1/90000", + "type": "video_source" + }, + { + "aesIvMask": "64A6AAC2821880145271BB15B0188821", + "aesKey": "65386FD9BCC30BC7FB6A4DD1D3B0FA5E", + "codecName": "av1", + "index": 3, + "maxBitRate": 5000000, + "maxFrameRate": "30000/1000", + "receiverRtcpEventLog": true, + "renderMode": "video", + "resolutions": [{"height": 1080, "width": 1920}], + "rtpExtensions": ["adaptive_playout_delay"], + "rtpPayloadType": 96, + "rtpProfile": "cast", + "ssrc": 748231, + "targetDelay": 400, + "timeBase": "1/90000", + "type": "video_source" } ] }, "seqNum": 0, "type": "OFFER" -}
\ No newline at end of file +} 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 +} |