aboutsummaryrefslogtreecommitdiff
path: root/cast/protocol/castv2/streaming_examples/offer.json
blob: b616211298bcc26116c448ba6405d797a3e9be58 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
  "offer": {
    "castMode": "mirroring",
    "supportedStreams": [
      {
        "aesIvMask": "64A6AAC2821880145271BB15B0188821",
        "aesKey": "65386FD9BCC30BC7FB6A4DD1D3B0FA5E",
        "bitRate": 102000,
        "channels": 2,
        "codecName": "opus",
        "index": 0,
        "receiverRtcpEventLog": true,
        "rtpExtensions": ["adaptive_playout_delay"],
        "rtpPayloadType": 127,
        "rtpProfile": "cast",
        "sampleRate": 48000,
        "ssrc": 264890,
        "targetDelay": 400,
        "timeBase": "1/48000",
        "type": "audio_source"
      },
      {
        "aesIvMask": "64A6AAC2821880145271BB15B0188821",
        "aesKey": "65386FD9BCC30BC7FB6A4DD1D3B0FA5E",
        "codecName": "vp8",
        "index": 1,
        "maxBitRate": 5000000,
        "maxFrameRate": "30000/1000",
        "receiverRtcpEventLog": true,
        "renderMode": "video",
        "resolutions": [{"height": 1080, "width": 1920}],
        "rtpExtensions": ["adaptive_playout_delay"],
        "rtpPayloadType": 96,
        "rtpProfile": "cast",
        "ssrc": 748229,
        "targetDelay": 400,
        "timeBase": "1/90000",
        "type": "video_source"
      },
      {
        "aesIvMask": "64A6AAC2821880145271BB15B0188821",
        "aesKey": "65386FD9BCC30BC7FB6A4DD1D3B0FA5E",
        "codecName": "h264",
        "codecParameter": "avc1.4D4028",
        "index": 2,
        "maxBitRate": 4000000,
        "maxFrameRate": "25",
        "receiverRtcpEventLog": false,
        "renderMode": "video",
        "resolutions": [{"height": 720, "width": 1280}],
        "rtpExtensions": ["adaptive_playout_delay"],
        "rtpPayloadType": 97,
        "rtpProfile": "cast",
        "ssrc": 748229,
        "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": 123,
  "type": "OFFER"
}