blob: 002e7bd057046ac20aeb83c7cc7a5793b3292241 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.liveStreams.html">liveStreams</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#delete">delete(id, onBehalfOfContentOwnerChannel=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Deletes an existing stream for the authenticated user.</p>
John Asmuth614db982014-04-24 15:46:26 -040080<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Inserts a new stream for the authenticated user.</p>
John Asmuth614db982014-04-24 15:46:26 -040083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#list">list(part, onBehalfOfContentOwner=None, id=None, mine=None, maxResults=None, onBehalfOfContentOwnerChannel=None, pageToken=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Retrieve the list of streams associated with the given channel. --</p>
John Asmuth614db982014-04-24 15:46:26 -040086<p class="toc_element">
87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#update">update(part, body=None, onBehalfOfContentOwnerChannel=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Updates an existing stream for the authenticated user.</p>
John Asmuth614db982014-04-24 15:46:26 -040092<h3>Method Details</h3>
93<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070094 <code class="details" id="delete">delete(id, onBehalfOfContentOwnerChannel=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
95 <pre>Deletes an existing stream for the authenticated user.
John Asmuth614db982014-04-24 15:46:26 -040096
97Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -070098 id: string, A parameter (required)
99 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
100href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
101&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
102content partners.&lt;br&gt;&lt;br&gt;The
103&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
104specifies the YouTube channel ID of the channel to which a video is being
105added. This parameter is required when a request specifies a value for the
106&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
107conjunction with that parameter. In addition, the request must be
108authorized using a CMS account that is linked to the content owner that the
109&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
110channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
111specifies must be linked to the content owner that the
112&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
113parameter is intended for YouTube content partners that own and manage many
114different YouTube channels. It allows content owners to authenticate once
115and perform actions on behalf of the channel specified in the parameter
116value, without having to provide authentication credentials for each
117separate channel.
118 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
119content partners.&lt;br&gt;&lt;br&gt;The
120&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
121that the
122request&#x27;s authorization credentials identify a YouTube CMS user who is
123acting on behalf of the content owner specified in the parameter value.
124This parameter is intended for YouTube content partners that own and manage
125many different YouTube channels. It allows content owners to authenticate
126once and get access to all their video and channel data, without having to
127provide authentication credentials for each individual channel. The CMS
128account that the user authenticates with must be linked to the specified
129YouTube content owner.
130 x__xgafv: string, V1 error format.
131 Allowed values
132 1 - v1 error format
133 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400134</pre>
135</div>
136
137<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700138 <code class="details" id="insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
139 <pre>Inserts a new stream for the authenticated user.
John Asmuth614db982014-04-24 15:46:26 -0400140
141Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700142 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter serves two purposes in
143this operation. It identifies the properties that the write operation will
144set as well as the properties that the API response will
145include.&lt;br&gt;&lt;br&gt;The &lt;code&gt;part&lt;/code&gt; properties that you can include in
146the parameter value are &lt;code&gt;id&lt;/code&gt;, &lt;code&gt;snippet&lt;/code&gt;,
147&lt;code&gt;cdn&lt;/code&gt;, and &lt;code&gt;status&lt;/code&gt;. (required) (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -0700148 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400149 The object takes the form of:
150
151{ # A live stream describes a live ingestion point.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700152 &quot;cdn&quot;: { # Brief description of the live stream cdn settings. # The &lt;code&gt;cdn&lt;/code&gt; object defines the live stream&#x27;s content delivery
153 # network (CDN) settings. These settings provide details about the manner
154 # in which you stream your content to YouTube.
155 &quot;ingestionInfo&quot;: { # Describes information necessary for ingesting an RTMP or an HTTP stream. # The &lt;code&gt;ingestionInfo&lt;/code&gt; object contains information that YouTube
156 # provides that you need to transmit your RTMP or HTTP stream to YouTube.
157 &quot;rtmpsBackupIngestionAddress&quot;: &quot;A String&quot;, # This ingestion url may be used instead of
158 # &lt;code&gt;backupIngestionAddress&lt;/code&gt; in order to stream via RTMPS. Not
159 # applicable to non-RTMP streams.
160 &quot;streamName&quot;: &quot;A String&quot;, # The HTTP or RTMP stream name that YouTube assigns to the video stream.
161 &quot;backupIngestionAddress&quot;: &quot;A String&quot;, # The backup ingestion URL that you should use to stream video to
162 # YouTube. You have the option of simultaneously streaming the content
163 # that you are sending to the &lt;code&gt;ingestionAddress&lt;/code&gt; to this URL.
164 &quot;ingestionAddress&quot;: &quot;A String&quot;, # The primary ingestion URL that you should use to stream video to
165 # YouTube. You must stream video to this URL.&lt;br&gt;&lt;br&gt;
166 # Depending on which application or tool you use to encode
167 # your video stream, you may need to enter the stream URL and stream
168 # name separately or you may need to concatenate them in the following
169 # format:&lt;br&gt;&lt;pre&gt;&lt;strong&gt;STREAM_URL/STREAM_NAME&lt;/strong&gt;&lt;/pre&gt;
170 &quot;rtmpsIngestionAddress&quot;: &quot;A String&quot;, # This ingestion url may be used instead of
171 # &lt;code&gt;ingestionAddress&lt;/code&gt; in order to stream via RTMPS. Not applicable
172 # to non-RTMP streams.
John Asmuth614db982014-04-24 15:46:26 -0400173 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700174 &quot;format&quot;: &quot;A String&quot;, # The format of the video stream that you are sending to Youtube. &lt;br&gt;&lt;br&gt;
175 &quot;frameRate&quot;: &quot;A String&quot;, # The frame rate of the inbound video data.
176 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the inbound video data.
177 &quot;ingestionType&quot;: &quot;A String&quot;, # The method or protocol used to transmit the video stream.
178 },
179 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
180 &quot;contentDetails&quot;: { # Detailed settings of a stream. # The &lt;code&gt;content_details&lt;/code&gt; object contains information about the
181 # stream, including the closed captions ingestion URL.
182 &quot;isReusable&quot;: True or False, # Indicates whether the stream is reusable, which means that it
183 # can be bound to multiple broadcasts. It is common for
184 # broadcasters to reuse the same stream for many different
185 # broadcasts if those broadcasts occur at different times.&lt;br&gt;&lt;br&gt;
186 # If you set this value to &lt;code&gt;false&lt;/code&gt;, then the stream
187 # will not be reusable, which means that it can only be bound to
188 # one broadcast. Non-reusable streams differ from reusable streams in the
189 # following ways:
190 # &lt;ul&gt;
191 # &lt;li&gt;A non-reusable stream can only be bound to one broadcast.&lt;/li&gt;
192 # &lt;li&gt;A non-reusable stream might be deleted by an automated process
193 # after the broadcast ends.&lt;/li&gt;
194 # &lt;li&gt;The &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams/list&quot;&gt;
195 # liveStreams.list&lt;/a&gt;&lt;/code&gt; method does not list non-reusable streams
196 # if you call the method and set the &lt;code&gt;mine&lt;/code&gt; parameter to
197 # &lt;code&gt;true&lt;/code&gt;. The only way to use that method to retrieve the
198 # resource for a non-reusable stream is to use the &lt;code&gt;id&lt;/code&gt;
199 # parameter to identify the stream.&lt;/li&gt;
200 # &lt;/ul&gt;
201 &quot;closedCaptionsIngestionUrl&quot;: &quot;A String&quot;, # The ingestion URL where the closed captions of this stream are sent.
202 },
203 &quot;status&quot;: { # Brief description of the live stream status. # The &lt;code&gt;status&lt;/code&gt; object contains information about
204 # live stream&#x27;s status.
205 &quot;healthStatus&quot;: { # The health status of the stream.
206 &quot;lastUpdateTimeSeconds&quot;: &quot;A String&quot;, # The last time this status was updated (in seconds)
207 &quot;status&quot;: &quot;A String&quot;, # The status code of this stream
208 &quot;configurationIssues&quot;: [ # The configurations issues on this stream
209 {
210 &quot;type&quot;: &quot;A String&quot;, # The kind of error happening.
211 &quot;description&quot;: &quot;A String&quot;, # The long-form description of the issue and how to resolve it.
212 &quot;reason&quot;: &quot;A String&quot;, # The short-form reason for this issue.
213 &quot;severity&quot;: &quot;A String&quot;, # How severe this issue is to the stream.
214 },
215 ],
John Asmuth614db982014-04-24 15:46:26 -0400216 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700217 &quot;streamStatus&quot;: &quot;A String&quot;,
218 },
219 &quot;kind&quot;: &quot;youtube#liveStream&quot;, # Identifies what kind of resource this is. Value: the fixed string
220 # &lt;code&gt;&quot;youtube#liveStream&quot;&lt;/code&gt;.
221 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the stream.
222 &quot;snippet&quot;: { # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the
223 # stream, including its channel, title, and description.
224 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
225 # is transmitting the stream.
226 &quot;description&quot;: &quot;A String&quot;, # The stream&#x27;s description. The value cannot be longer than 10000
227 # characters.
228 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the stream was created. The value is specified in
229 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
230 # format.
231 &quot;isDefaultStream&quot;: True or False,
232 &quot;title&quot;: &quot;A String&quot;, # The stream&#x27;s title. The value must be between 1 and 128 characters long.
233 },
234}
John Asmuth614db982014-04-24 15:46:26 -0400235
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700236 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
237content partners.&lt;br&gt;&lt;br&gt;The
238&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
239that the
240request&#x27;s authorization credentials identify a YouTube CMS user who is
241acting on behalf of the content owner specified in the parameter value.
242This parameter is intended for YouTube content partners that own and manage
243many different YouTube channels. It allows content owners to authenticate
244once and get access to all their video and channel data, without having to
245provide authentication credentials for each individual channel. The CMS
246account that the user authenticates with must be linked to the specified
247YouTube content owner.
248 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
249href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
250&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
251content partners.&lt;br&gt;&lt;br&gt;The
252&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
253specifies the YouTube channel ID of the channel to which a video is being
254added. This parameter is required when a request specifies a value for the
255&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
256conjunction with that parameter. In addition, the request must be
257authorized using a CMS account that is linked to the content owner that the
258&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
259channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
260specifies must be linked to the content owner that the
261&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
262parameter is intended for YouTube content partners that own and manage many
263different YouTube channels. It allows content owners to authenticate once
264and perform actions on behalf of the channel specified in the parameter
265value, without having to provide authentication credentials for each
266separate channel.
267 x__xgafv: string, V1 error format.
268 Allowed values
269 1 - v1 error format
270 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400271
272Returns:
273 An object of the form:
274
275 { # A live stream describes a live ingestion point.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700276 &quot;cdn&quot;: { # Brief description of the live stream cdn settings. # The &lt;code&gt;cdn&lt;/code&gt; object defines the live stream&#x27;s content delivery
277 # network (CDN) settings. These settings provide details about the manner
278 # in which you stream your content to YouTube.
279 &quot;ingestionInfo&quot;: { # Describes information necessary for ingesting an RTMP or an HTTP stream. # The &lt;code&gt;ingestionInfo&lt;/code&gt; object contains information that YouTube
280 # provides that you need to transmit your RTMP or HTTP stream to YouTube.
281 &quot;rtmpsBackupIngestionAddress&quot;: &quot;A String&quot;, # This ingestion url may be used instead of
282 # &lt;code&gt;backupIngestionAddress&lt;/code&gt; in order to stream via RTMPS. Not
283 # applicable to non-RTMP streams.
284 &quot;streamName&quot;: &quot;A String&quot;, # The HTTP or RTMP stream name that YouTube assigns to the video stream.
285 &quot;backupIngestionAddress&quot;: &quot;A String&quot;, # The backup ingestion URL that you should use to stream video to
286 # YouTube. You have the option of simultaneously streaming the content
287 # that you are sending to the &lt;code&gt;ingestionAddress&lt;/code&gt; to this URL.
288 &quot;ingestionAddress&quot;: &quot;A String&quot;, # The primary ingestion URL that you should use to stream video to
289 # YouTube. You must stream video to this URL.&lt;br&gt;&lt;br&gt;
290 # Depending on which application or tool you use to encode
291 # your video stream, you may need to enter the stream URL and stream
292 # name separately or you may need to concatenate them in the following
293 # format:&lt;br&gt;&lt;pre&gt;&lt;strong&gt;STREAM_URL/STREAM_NAME&lt;/strong&gt;&lt;/pre&gt;
294 &quot;rtmpsIngestionAddress&quot;: &quot;A String&quot;, # This ingestion url may be used instead of
295 # &lt;code&gt;ingestionAddress&lt;/code&gt; in order to stream via RTMPS. Not applicable
296 # to non-RTMP streams.
John Asmuth614db982014-04-24 15:46:26 -0400297 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700298 &quot;format&quot;: &quot;A String&quot;, # The format of the video stream that you are sending to Youtube. &lt;br&gt;&lt;br&gt;
299 &quot;frameRate&quot;: &quot;A String&quot;, # The frame rate of the inbound video data.
300 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the inbound video data.
301 &quot;ingestionType&quot;: &quot;A String&quot;, # The method or protocol used to transmit the video stream.
302 },
303 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
304 &quot;contentDetails&quot;: { # Detailed settings of a stream. # The &lt;code&gt;content_details&lt;/code&gt; object contains information about the
305 # stream, including the closed captions ingestion URL.
306 &quot;isReusable&quot;: True or False, # Indicates whether the stream is reusable, which means that it
307 # can be bound to multiple broadcasts. It is common for
308 # broadcasters to reuse the same stream for many different
309 # broadcasts if those broadcasts occur at different times.&lt;br&gt;&lt;br&gt;
310 # If you set this value to &lt;code&gt;false&lt;/code&gt;, then the stream
311 # will not be reusable, which means that it can only be bound to
312 # one broadcast. Non-reusable streams differ from reusable streams in the
313 # following ways:
314 # &lt;ul&gt;
315 # &lt;li&gt;A non-reusable stream can only be bound to one broadcast.&lt;/li&gt;
316 # &lt;li&gt;A non-reusable stream might be deleted by an automated process
317 # after the broadcast ends.&lt;/li&gt;
318 # &lt;li&gt;The &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams/list&quot;&gt;
319 # liveStreams.list&lt;/a&gt;&lt;/code&gt; method does not list non-reusable streams
320 # if you call the method and set the &lt;code&gt;mine&lt;/code&gt; parameter to
321 # &lt;code&gt;true&lt;/code&gt;. The only way to use that method to retrieve the
322 # resource for a non-reusable stream is to use the &lt;code&gt;id&lt;/code&gt;
323 # parameter to identify the stream.&lt;/li&gt;
324 # &lt;/ul&gt;
325 &quot;closedCaptionsIngestionUrl&quot;: &quot;A String&quot;, # The ingestion URL where the closed captions of this stream are sent.
326 },
327 &quot;status&quot;: { # Brief description of the live stream status. # The &lt;code&gt;status&lt;/code&gt; object contains information about
328 # live stream&#x27;s status.
329 &quot;healthStatus&quot;: { # The health status of the stream.
330 &quot;lastUpdateTimeSeconds&quot;: &quot;A String&quot;, # The last time this status was updated (in seconds)
331 &quot;status&quot;: &quot;A String&quot;, # The status code of this stream
332 &quot;configurationIssues&quot;: [ # The configurations issues on this stream
333 {
334 &quot;type&quot;: &quot;A String&quot;, # The kind of error happening.
335 &quot;description&quot;: &quot;A String&quot;, # The long-form description of the issue and how to resolve it.
336 &quot;reason&quot;: &quot;A String&quot;, # The short-form reason for this issue.
337 &quot;severity&quot;: &quot;A String&quot;, # How severe this issue is to the stream.
338 },
339 ],
John Asmuth614db982014-04-24 15:46:26 -0400340 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700341 &quot;streamStatus&quot;: &quot;A String&quot;,
342 },
343 &quot;kind&quot;: &quot;youtube#liveStream&quot;, # Identifies what kind of resource this is. Value: the fixed string
344 # &lt;code&gt;&quot;youtube#liveStream&quot;&lt;/code&gt;.
345 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the stream.
346 &quot;snippet&quot;: { # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the
347 # stream, including its channel, title, and description.
348 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
349 # is transmitting the stream.
350 &quot;description&quot;: &quot;A String&quot;, # The stream&#x27;s description. The value cannot be longer than 10000
351 # characters.
352 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the stream was created. The value is specified in
353 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
354 # format.
355 &quot;isDefaultStream&quot;: True or False,
356 &quot;title&quot;: &quot;A String&quot;, # The stream&#x27;s title. The value must be between 1 and 128 characters long.
357 },
358 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400359</div>
360
361<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700362 <code class="details" id="list">list(part, onBehalfOfContentOwner=None, id=None, mine=None, maxResults=None, onBehalfOfContentOwnerChannel=None, pageToken=None, x__xgafv=None)</code>
363 <pre>Retrieve the list of streams associated with the given channel. --
John Asmuth614db982014-04-24 15:46:26 -0400364
365Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700366 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter specifies a
367comma-separated list of one or more &lt;code&gt;liveStream&lt;/code&gt; resource
368properties that the API response will include. The &lt;code&gt;part&lt;/code&gt; names
369that you can include in the parameter value are &lt;code&gt;id&lt;/code&gt;,
370&lt;code&gt;snippet&lt;/code&gt;, &lt;code&gt;cdn&lt;/code&gt;, and &lt;code&gt;status&lt;/code&gt;. (required) (repeated)
371 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
372content partners.&lt;br&gt;&lt;br&gt;The
373&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
374that the
375request&#x27;s authorization credentials identify a YouTube CMS user who is
376acting on behalf of the content owner specified in the parameter value.
377This parameter is intended for YouTube content partners that own and manage
378many different YouTube channels. It allows content owners to authenticate
379once and get access to all their video and channel data, without having to
380provide authentication credentials for each individual channel. The CMS
381account that the user authenticates with must be linked to the specified
382YouTube content owner.
383 id: string, Return LiveStreams with the given ids from Stubby or Apiary. (repeated)
384 mine: boolean, A parameter
385 maxResults: integer, The &lt;code&gt;&lt;strong&gt;maxResults&lt;/strong&gt;&lt;/code&gt; parameter specifies the
386maximum number of items that should be returned in the result set.
387 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
388href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
389&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
390content partners.&lt;br&gt;&lt;br&gt;The
391&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
392specifies the YouTube channel ID of the channel to which a video is being
393added. This parameter is required when a request specifies a value for the
394&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
395conjunction with that parameter. In addition, the request must be
396authorized using a CMS account that is linked to the content owner that the
397&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
398channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
399specifies must be linked to the content owner that the
400&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
401parameter is intended for YouTube content partners that own and manage many
402different YouTube channels. It allows content owners to authenticate once
403and perform actions on behalf of the channel specified in the parameter
404value, without having to provide authentication credentials for each
405separate channel.
406 pageToken: string, The &lt;code&gt;&lt;strong&gt;pageToken&lt;/strong&gt;&lt;/code&gt; parameter identifies a specific
407page in the result set that should be returned. In an API response, the
408&lt;code&gt;nextPageToken&lt;/code&gt; and &lt;code&gt;prevPageToken&lt;/code&gt; properties
409identify other pages that could be retrieved.
410 x__xgafv: string, V1 error format.
411 Allowed values
412 1 - v1 error format
413 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400414
415Returns:
416 An object of the form:
417
418 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700419 &quot;eventId&quot;: &quot;A String&quot;, # Serialized EventId of the request which produced this response.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700420 &quot;visitorId&quot;: &quot;A String&quot;, # The &lt;code&gt;visitorId&lt;/code&gt; identifies the visitor.
Bu Sun Kim65020912020-05-20 12:08:20 -0700421 &quot;items&quot;: [ # A list of live streams that match the request criteria.
John Asmuth614db982014-04-24 15:46:26 -0400422 { # A live stream describes a live ingestion point.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700423 &quot;cdn&quot;: { # Brief description of the live stream cdn settings. # The &lt;code&gt;cdn&lt;/code&gt; object defines the live stream&#x27;s content delivery
424 # network (CDN) settings. These settings provide details about the manner
425 # in which you stream your content to YouTube.
426 &quot;ingestionInfo&quot;: { # Describes information necessary for ingesting an RTMP or an HTTP stream. # The &lt;code&gt;ingestionInfo&lt;/code&gt; object contains information that YouTube
427 # provides that you need to transmit your RTMP or HTTP stream to YouTube.
428 &quot;rtmpsBackupIngestionAddress&quot;: &quot;A String&quot;, # This ingestion url may be used instead of
429 # &lt;code&gt;backupIngestionAddress&lt;/code&gt; in order to stream via RTMPS. Not
430 # applicable to non-RTMP streams.
431 &quot;streamName&quot;: &quot;A String&quot;, # The HTTP or RTMP stream name that YouTube assigns to the video stream.
432 &quot;backupIngestionAddress&quot;: &quot;A String&quot;, # The backup ingestion URL that you should use to stream video to
433 # YouTube. You have the option of simultaneously streaming the content
434 # that you are sending to the &lt;code&gt;ingestionAddress&lt;/code&gt; to this URL.
435 &quot;ingestionAddress&quot;: &quot;A String&quot;, # The primary ingestion URL that you should use to stream video to
436 # YouTube. You must stream video to this URL.&lt;br&gt;&lt;br&gt;
437 # Depending on which application or tool you use to encode
438 # your video stream, you may need to enter the stream URL and stream
439 # name separately or you may need to concatenate them in the following
440 # format:&lt;br&gt;&lt;pre&gt;&lt;strong&gt;STREAM_URL/STREAM_NAME&lt;/strong&gt;&lt;/pre&gt;
441 &quot;rtmpsIngestionAddress&quot;: &quot;A String&quot;, # This ingestion url may be used instead of
442 # &lt;code&gt;ingestionAddress&lt;/code&gt; in order to stream via RTMPS. Not applicable
443 # to non-RTMP streams.
John Asmuth614db982014-04-24 15:46:26 -0400444 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700445 &quot;format&quot;: &quot;A String&quot;, # The format of the video stream that you are sending to Youtube. &lt;br&gt;&lt;br&gt;
446 &quot;frameRate&quot;: &quot;A String&quot;, # The frame rate of the inbound video data.
447 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the inbound video data.
448 &quot;ingestionType&quot;: &quot;A String&quot;, # The method or protocol used to transmit the video stream.
John Asmuth614db982014-04-24 15:46:26 -0400449 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700450 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
451 &quot;contentDetails&quot;: { # Detailed settings of a stream. # The &lt;code&gt;content_details&lt;/code&gt; object contains information about the
452 # stream, including the closed captions ingestion URL.
453 &quot;isReusable&quot;: True or False, # Indicates whether the stream is reusable, which means that it
454 # can be bound to multiple broadcasts. It is common for
455 # broadcasters to reuse the same stream for many different
456 # broadcasts if those broadcasts occur at different times.&lt;br&gt;&lt;br&gt;
457 # If you set this value to &lt;code&gt;false&lt;/code&gt;, then the stream
458 # will not be reusable, which means that it can only be bound to
459 # one broadcast. Non-reusable streams differ from reusable streams in the
460 # following ways:
461 # &lt;ul&gt;
462 # &lt;li&gt;A non-reusable stream can only be bound to one broadcast.&lt;/li&gt;
463 # &lt;li&gt;A non-reusable stream might be deleted by an automated process
464 # after the broadcast ends.&lt;/li&gt;
465 # &lt;li&gt;The &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams/list&quot;&gt;
466 # liveStreams.list&lt;/a&gt;&lt;/code&gt; method does not list non-reusable streams
467 # if you call the method and set the &lt;code&gt;mine&lt;/code&gt; parameter to
468 # &lt;code&gt;true&lt;/code&gt;. The only way to use that method to retrieve the
469 # resource for a non-reusable stream is to use the &lt;code&gt;id&lt;/code&gt;
470 # parameter to identify the stream.&lt;/li&gt;
471 # &lt;/ul&gt;
472 &quot;closedCaptionsIngestionUrl&quot;: &quot;A String&quot;, # The ingestion URL where the closed captions of this stream are sent.
473 },
474 &quot;status&quot;: { # Brief description of the live stream status. # The &lt;code&gt;status&lt;/code&gt; object contains information about
475 # live stream&#x27;s status.
476 &quot;healthStatus&quot;: { # The health status of the stream.
477 &quot;lastUpdateTimeSeconds&quot;: &quot;A String&quot;, # The last time this status was updated (in seconds)
478 &quot;status&quot;: &quot;A String&quot;, # The status code of this stream
479 &quot;configurationIssues&quot;: [ # The configurations issues on this stream
480 {
481 &quot;type&quot;: &quot;A String&quot;, # The kind of error happening.
482 &quot;description&quot;: &quot;A String&quot;, # The long-form description of the issue and how to resolve it.
483 &quot;reason&quot;: &quot;A String&quot;, # The short-form reason for this issue.
484 &quot;severity&quot;: &quot;A String&quot;, # How severe this issue is to the stream.
485 },
486 ],
487 },
488 &quot;streamStatus&quot;: &quot;A String&quot;,
489 },
490 &quot;kind&quot;: &quot;youtube#liveStream&quot;, # Identifies what kind of resource this is. Value: the fixed string
491 # &lt;code&gt;&quot;youtube#liveStream&quot;&lt;/code&gt;.
492 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the stream.
493 &quot;snippet&quot;: { # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the
494 # stream, including its channel, title, and description.
495 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
496 # is transmitting the stream.
497 &quot;description&quot;: &quot;A String&quot;, # The stream&#x27;s description. The value cannot be longer than 10000
498 # characters.
499 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the stream was created. The value is specified in
500 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
501 # format.
502 &quot;isDefaultStream&quot;: True or False,
503 &quot;title&quot;: &quot;A String&quot;, # The stream&#x27;s title. The value must be between 1 and 128 characters long.
504 },
505 },
John Asmuth614db982014-04-24 15:46:26 -0400506 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700507 &quot;prevPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the &lt;code&gt;pageToken&lt;/code&gt;
508 # parameter to retrieve the previous page in the result set.
509 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
510 &quot;tokenPagination&quot;: { # Stub token pagination template to suppress results.
511 },
512 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the &lt;code&gt;pageToken&lt;/code&gt;
513 # parameter to retrieve the next page in the result set.
514 &quot;kind&quot;: &quot;youtube#liveStreamListResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string
515 # &lt;code&gt;&quot;youtube#liveStreamListResponse&quot;&lt;/code&gt;.
516 &quot;pageInfo&quot;: { # Paging details for lists of resources, including total number of items
517 # available and number of resources returned in a single page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700518 &quot;resultsPerPage&quot;: 42, # The number of results included in the API response.
519 &quot;totalResults&quot;: 42, # The total number of results in the result set.
John Asmuth614db982014-04-24 15:46:26 -0400520 },
John Asmuth614db982014-04-24 15:46:26 -0400521 }</pre>
522</div>
523
524<div class="method">
525 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
526 <pre>Retrieves the next page of results.
527
528Args:
529 previous_request: The request for the previous page. (required)
530 previous_response: The response from the request for the previous page. (required)
531
532Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700533 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400534 page. Returns None if there are no more items in the collection.
535 </pre>
536</div>
537
538<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700539 <code class="details" id="update">update(part, body=None, onBehalfOfContentOwnerChannel=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
540 <pre>Updates an existing stream for the authenticated user.
John Asmuth614db982014-04-24 15:46:26 -0400541
542Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700543 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter serves two purposes in
544this operation. It identifies the properties that the write operation will
545set as well as the properties that the API response will
546include.&lt;br&gt;&lt;br&gt;The &lt;code&gt;part&lt;/code&gt; properties that you can include in
547the parameter value are &lt;code&gt;id&lt;/code&gt;, &lt;code&gt;snippet&lt;/code&gt;,
548&lt;code&gt;cdn&lt;/code&gt;, and &lt;code&gt;status&lt;/code&gt;.&lt;br&gt;&lt;br&gt;Note that this method
549will override the existing values for all of the mutable properties that
550are contained in any parts that the parameter value specifies. If the
551request body does not specify a value for a mutable property, the existing
552value for that property will be removed. (required) (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -0700553 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400554 The object takes the form of:
555
556{ # A live stream describes a live ingestion point.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700557 &quot;cdn&quot;: { # Brief description of the live stream cdn settings. # The &lt;code&gt;cdn&lt;/code&gt; object defines the live stream&#x27;s content delivery
558 # network (CDN) settings. These settings provide details about the manner
559 # in which you stream your content to YouTube.
560 &quot;ingestionInfo&quot;: { # Describes information necessary for ingesting an RTMP or an HTTP stream. # The &lt;code&gt;ingestionInfo&lt;/code&gt; object contains information that YouTube
561 # provides that you need to transmit your RTMP or HTTP stream to YouTube.
562 &quot;rtmpsBackupIngestionAddress&quot;: &quot;A String&quot;, # This ingestion url may be used instead of
563 # &lt;code&gt;backupIngestionAddress&lt;/code&gt; in order to stream via RTMPS. Not
564 # applicable to non-RTMP streams.
565 &quot;streamName&quot;: &quot;A String&quot;, # The HTTP or RTMP stream name that YouTube assigns to the video stream.
566 &quot;backupIngestionAddress&quot;: &quot;A String&quot;, # The backup ingestion URL that you should use to stream video to
567 # YouTube. You have the option of simultaneously streaming the content
568 # that you are sending to the &lt;code&gt;ingestionAddress&lt;/code&gt; to this URL.
569 &quot;ingestionAddress&quot;: &quot;A String&quot;, # The primary ingestion URL that you should use to stream video to
570 # YouTube. You must stream video to this URL.&lt;br&gt;&lt;br&gt;
571 # Depending on which application or tool you use to encode
572 # your video stream, you may need to enter the stream URL and stream
573 # name separately or you may need to concatenate them in the following
574 # format:&lt;br&gt;&lt;pre&gt;&lt;strong&gt;STREAM_URL/STREAM_NAME&lt;/strong&gt;&lt;/pre&gt;
575 &quot;rtmpsIngestionAddress&quot;: &quot;A String&quot;, # This ingestion url may be used instead of
576 # &lt;code&gt;ingestionAddress&lt;/code&gt; in order to stream via RTMPS. Not applicable
577 # to non-RTMP streams.
John Asmuth614db982014-04-24 15:46:26 -0400578 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700579 &quot;format&quot;: &quot;A String&quot;, # The format of the video stream that you are sending to Youtube. &lt;br&gt;&lt;br&gt;
580 &quot;frameRate&quot;: &quot;A String&quot;, # The frame rate of the inbound video data.
581 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the inbound video data.
582 &quot;ingestionType&quot;: &quot;A String&quot;, # The method or protocol used to transmit the video stream.
583 },
584 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
585 &quot;contentDetails&quot;: { # Detailed settings of a stream. # The &lt;code&gt;content_details&lt;/code&gt; object contains information about the
586 # stream, including the closed captions ingestion URL.
587 &quot;isReusable&quot;: True or False, # Indicates whether the stream is reusable, which means that it
588 # can be bound to multiple broadcasts. It is common for
589 # broadcasters to reuse the same stream for many different
590 # broadcasts if those broadcasts occur at different times.&lt;br&gt;&lt;br&gt;
591 # If you set this value to &lt;code&gt;false&lt;/code&gt;, then the stream
592 # will not be reusable, which means that it can only be bound to
593 # one broadcast. Non-reusable streams differ from reusable streams in the
594 # following ways:
595 # &lt;ul&gt;
596 # &lt;li&gt;A non-reusable stream can only be bound to one broadcast.&lt;/li&gt;
597 # &lt;li&gt;A non-reusable stream might be deleted by an automated process
598 # after the broadcast ends.&lt;/li&gt;
599 # &lt;li&gt;The &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams/list&quot;&gt;
600 # liveStreams.list&lt;/a&gt;&lt;/code&gt; method does not list non-reusable streams
601 # if you call the method and set the &lt;code&gt;mine&lt;/code&gt; parameter to
602 # &lt;code&gt;true&lt;/code&gt;. The only way to use that method to retrieve the
603 # resource for a non-reusable stream is to use the &lt;code&gt;id&lt;/code&gt;
604 # parameter to identify the stream.&lt;/li&gt;
605 # &lt;/ul&gt;
606 &quot;closedCaptionsIngestionUrl&quot;: &quot;A String&quot;, # The ingestion URL where the closed captions of this stream are sent.
607 },
608 &quot;status&quot;: { # Brief description of the live stream status. # The &lt;code&gt;status&lt;/code&gt; object contains information about
609 # live stream&#x27;s status.
610 &quot;healthStatus&quot;: { # The health status of the stream.
611 &quot;lastUpdateTimeSeconds&quot;: &quot;A String&quot;, # The last time this status was updated (in seconds)
612 &quot;status&quot;: &quot;A String&quot;, # The status code of this stream
613 &quot;configurationIssues&quot;: [ # The configurations issues on this stream
614 {
615 &quot;type&quot;: &quot;A String&quot;, # The kind of error happening.
616 &quot;description&quot;: &quot;A String&quot;, # The long-form description of the issue and how to resolve it.
617 &quot;reason&quot;: &quot;A String&quot;, # The short-form reason for this issue.
618 &quot;severity&quot;: &quot;A String&quot;, # How severe this issue is to the stream.
619 },
620 ],
John Asmuth614db982014-04-24 15:46:26 -0400621 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700622 &quot;streamStatus&quot;: &quot;A String&quot;,
623 },
624 &quot;kind&quot;: &quot;youtube#liveStream&quot;, # Identifies what kind of resource this is. Value: the fixed string
625 # &lt;code&gt;&quot;youtube#liveStream&quot;&lt;/code&gt;.
626 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the stream.
627 &quot;snippet&quot;: { # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the
628 # stream, including its channel, title, and description.
629 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
630 # is transmitting the stream.
631 &quot;description&quot;: &quot;A String&quot;, # The stream&#x27;s description. The value cannot be longer than 10000
632 # characters.
633 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the stream was created. The value is specified in
634 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
635 # format.
636 &quot;isDefaultStream&quot;: True or False,
637 &quot;title&quot;: &quot;A String&quot;, # The stream&#x27;s title. The value must be between 1 and 128 characters long.
638 },
639}
John Asmuth614db982014-04-24 15:46:26 -0400640
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700641 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
642href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
643&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
644content partners.&lt;br&gt;&lt;br&gt;The
645&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
646specifies the YouTube channel ID of the channel to which a video is being
647added. This parameter is required when a request specifies a value for the
648&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
649conjunction with that parameter. In addition, the request must be
650authorized using a CMS account that is linked to the content owner that the
651&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
652channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
653specifies must be linked to the content owner that the
654&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
655parameter is intended for YouTube content partners that own and manage many
656different YouTube channels. It allows content owners to authenticate once
657and perform actions on behalf of the channel specified in the parameter
658value, without having to provide authentication credentials for each
659separate channel.
660 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
661content partners.&lt;br&gt;&lt;br&gt;The
662&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
663that the
664request&#x27;s authorization credentials identify a YouTube CMS user who is
665acting on behalf of the content owner specified in the parameter value.
666This parameter is intended for YouTube content partners that own and manage
667many different YouTube channels. It allows content owners to authenticate
668once and get access to all their video and channel data, without having to
669provide authentication credentials for each individual channel. The CMS
670account that the user authenticates with must be linked to the specified
671YouTube content owner.
672 x__xgafv: string, V1 error format.
673 Allowed values
674 1 - v1 error format
675 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400676
677Returns:
678 An object of the form:
679
680 { # A live stream describes a live ingestion point.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700681 &quot;cdn&quot;: { # Brief description of the live stream cdn settings. # The &lt;code&gt;cdn&lt;/code&gt; object defines the live stream&#x27;s content delivery
682 # network (CDN) settings. These settings provide details about the manner
683 # in which you stream your content to YouTube.
684 &quot;ingestionInfo&quot;: { # Describes information necessary for ingesting an RTMP or an HTTP stream. # The &lt;code&gt;ingestionInfo&lt;/code&gt; object contains information that YouTube
685 # provides that you need to transmit your RTMP or HTTP stream to YouTube.
686 &quot;rtmpsBackupIngestionAddress&quot;: &quot;A String&quot;, # This ingestion url may be used instead of
687 # &lt;code&gt;backupIngestionAddress&lt;/code&gt; in order to stream via RTMPS. Not
688 # applicable to non-RTMP streams.
689 &quot;streamName&quot;: &quot;A String&quot;, # The HTTP or RTMP stream name that YouTube assigns to the video stream.
690 &quot;backupIngestionAddress&quot;: &quot;A String&quot;, # The backup ingestion URL that you should use to stream video to
691 # YouTube. You have the option of simultaneously streaming the content
692 # that you are sending to the &lt;code&gt;ingestionAddress&lt;/code&gt; to this URL.
693 &quot;ingestionAddress&quot;: &quot;A String&quot;, # The primary ingestion URL that you should use to stream video to
694 # YouTube. You must stream video to this URL.&lt;br&gt;&lt;br&gt;
695 # Depending on which application or tool you use to encode
696 # your video stream, you may need to enter the stream URL and stream
697 # name separately or you may need to concatenate them in the following
698 # format:&lt;br&gt;&lt;pre&gt;&lt;strong&gt;STREAM_URL/STREAM_NAME&lt;/strong&gt;&lt;/pre&gt;
699 &quot;rtmpsIngestionAddress&quot;: &quot;A String&quot;, # This ingestion url may be used instead of
700 # &lt;code&gt;ingestionAddress&lt;/code&gt; in order to stream via RTMPS. Not applicable
701 # to non-RTMP streams.
John Asmuth614db982014-04-24 15:46:26 -0400702 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700703 &quot;format&quot;: &quot;A String&quot;, # The format of the video stream that you are sending to Youtube. &lt;br&gt;&lt;br&gt;
704 &quot;frameRate&quot;: &quot;A String&quot;, # The frame rate of the inbound video data.
705 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the inbound video data.
706 &quot;ingestionType&quot;: &quot;A String&quot;, # The method or protocol used to transmit the video stream.
707 },
708 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
709 &quot;contentDetails&quot;: { # Detailed settings of a stream. # The &lt;code&gt;content_details&lt;/code&gt; object contains information about the
710 # stream, including the closed captions ingestion URL.
711 &quot;isReusable&quot;: True or False, # Indicates whether the stream is reusable, which means that it
712 # can be bound to multiple broadcasts. It is common for
713 # broadcasters to reuse the same stream for many different
714 # broadcasts if those broadcasts occur at different times.&lt;br&gt;&lt;br&gt;
715 # If you set this value to &lt;code&gt;false&lt;/code&gt;, then the stream
716 # will not be reusable, which means that it can only be bound to
717 # one broadcast. Non-reusable streams differ from reusable streams in the
718 # following ways:
719 # &lt;ul&gt;
720 # &lt;li&gt;A non-reusable stream can only be bound to one broadcast.&lt;/li&gt;
721 # &lt;li&gt;A non-reusable stream might be deleted by an automated process
722 # after the broadcast ends.&lt;/li&gt;
723 # &lt;li&gt;The &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams/list&quot;&gt;
724 # liveStreams.list&lt;/a&gt;&lt;/code&gt; method does not list non-reusable streams
725 # if you call the method and set the &lt;code&gt;mine&lt;/code&gt; parameter to
726 # &lt;code&gt;true&lt;/code&gt;. The only way to use that method to retrieve the
727 # resource for a non-reusable stream is to use the &lt;code&gt;id&lt;/code&gt;
728 # parameter to identify the stream.&lt;/li&gt;
729 # &lt;/ul&gt;
730 &quot;closedCaptionsIngestionUrl&quot;: &quot;A String&quot;, # The ingestion URL where the closed captions of this stream are sent.
731 },
732 &quot;status&quot;: { # Brief description of the live stream status. # The &lt;code&gt;status&lt;/code&gt; object contains information about
733 # live stream&#x27;s status.
734 &quot;healthStatus&quot;: { # The health status of the stream.
735 &quot;lastUpdateTimeSeconds&quot;: &quot;A String&quot;, # The last time this status was updated (in seconds)
736 &quot;status&quot;: &quot;A String&quot;, # The status code of this stream
737 &quot;configurationIssues&quot;: [ # The configurations issues on this stream
738 {
739 &quot;type&quot;: &quot;A String&quot;, # The kind of error happening.
740 &quot;description&quot;: &quot;A String&quot;, # The long-form description of the issue and how to resolve it.
741 &quot;reason&quot;: &quot;A String&quot;, # The short-form reason for this issue.
742 &quot;severity&quot;: &quot;A String&quot;, # How severe this issue is to the stream.
743 },
744 ],
John Asmuth614db982014-04-24 15:46:26 -0400745 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700746 &quot;streamStatus&quot;: &quot;A String&quot;,
747 },
748 &quot;kind&quot;: &quot;youtube#liveStream&quot;, # Identifies what kind of resource this is. Value: the fixed string
749 # &lt;code&gt;&quot;youtube#liveStream&quot;&lt;/code&gt;.
750 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the stream.
751 &quot;snippet&quot;: { # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the
752 # stream, including its channel, title, and description.
753 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
754 # is transmitting the stream.
755 &quot;description&quot;: &quot;A String&quot;, # The stream&#x27;s description. The value cannot be longer than 10000
756 # characters.
757 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the stream was created. The value is specified in
758 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
759 # format.
760 &quot;isDefaultStream&quot;: True or False,
761 &quot;title&quot;: &quot;A String&quot;, # The stream&#x27;s title. The value must be between 1 and 128 characters long.
762 },
763 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400764</div>
765
766</body></html>