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