xref: /aosp_15_r20/external/openscreen/cast/protocol/castv2/streaming_examples/answer.json (revision 3f982cf4871df8771c9d4abe6e9a6f8d829b2736)
1{
2  "seqNum": 820263768,
3  "type": "ANSWER",
4  "result": "ok",
5  "answer": {
6    "castMode": "mirroring",
7    "udpPort": 1234,
8    "sendIndexes": [1, 3],
9    "ssrcs": [1233324, 2234222],
10    "constraints": {
11      "audio": {
12        "maxSampleRate": 96000,
13        "maxChannels": 5,
14        "minBitRate": 32000,
15        "maxBitRate": 320000
16      },
17      "video": {
18        "maxPixelsPerSecond": 62208000,
19        "minResolution": {"width": 320, "height": 240},
20        "maxDimensions": {"width": 1920, "height": 1080, "frameRate": "60"},
21        "minBitRate": 300000,
22        "maxBitRate": 10000000,
23        "maxDelay": 4000
24      }
25    },
26    "display": {
27      "dimensions": {"width": 1920, "height": 1080, "frameRate": "60000/1001"},
28      "aspectRatio": "64:27",
29      "scaling": "sender"
30    },
31    "receiverRtcpEventLog": [0, 1],
32    "receiverRtcpDscp": [234, 567],
33    "rtpExtensions": ["adaptive_playout_delay"]
34  }
35}