1<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 75<h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.liveBroadcasts.html">liveBroadcasts</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#bind">bind(id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, streamId=None, x__xgafv=None)</a></code></p> 79<p class="firstline">Bind a broadcast to a stream.</p> 80<p class="toc_element"> 81 <code><a href="#close">close()</a></code></p> 82<p class="firstline">Close httplib2 connections.</p> 83<p class="toc_element"> 84 <code><a href="#delete">delete(id, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Delete a given broadcast.</p> 86<p class="toc_element"> 87 <code><a href="#insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p> 88<p class="firstline">Inserts a new stream for the authenticated user.</p> 89<p class="toc_element"> 90 <code><a href="#list">list(part, broadcastStatus=None, broadcastType=None, id=None, maxResults=None, mine=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, pageToken=None, x__xgafv=None)</a></code></p> 91<p class="firstline">Retrieve the list of broadcasts associated with the given channel.</p> 92<p class="toc_element"> 93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 94<p class="firstline">Retrieves the next page of results.</p> 95<p class="toc_element"> 96 <code><a href="#transition">transition(broadcastStatus, id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p> 97<p class="firstline">Transition a broadcast to a given status.</p> 98<p class="toc_element"> 99 <code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p> 100<p class="firstline">Updates an existing broadcast for the authenticated user.</p> 101<h3>Method Details</h3> 102<div class="method"> 103 <code class="details" id="bind">bind(id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, streamId=None, x__xgafv=None)</code> 104 <pre>Bind a broadcast to a stream. 105 106Args: 107 id: string, Broadcast to bind to the stream (required) 108 part: string, The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status. (required) (repeated) 109 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. 110 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel. 111 streamId: string, Stream to bind, if not set unbind the current one. 112 x__xgafv: string, V1 error format. 113 Allowed values 114 1 - v1 error format 115 2 - v2 error format 116 117Returns: 118 An object of the form: 119 120 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube. 121 "contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded. 122 "boundStreamId": "A String", # This value uniquely identifies the live stream bound to the broadcast. 123 "boundStreamLastUpdateTimeMs": "A String", # The date and time that the live stream referenced by boundStreamId was last updated. 124 "closedCaptionsType": "A String", 125 "enableAutoStart": True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 126 "enableAutoStop": True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 127 "enableClosedCaptions": True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST. 128 "enableContentEncryption": True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast. 129 "enableDvr": True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends. 130 "enableEmbed": True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video. 131 "enableLowLatency": True or False, # Indicates whether this broadcast has low latency enabled. 132 "latencyPreference": "A String", # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted. 133 "mesh": "A String", # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags. 134 "monitorStream": { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly. 135 "broadcastStreamDelayMs": 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay. 136 "embedHtml": "A String", # HTML code that embeds a player that plays the monitor stream. 137 "enableMonitorStream": True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster's consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state. 138 }, 139 "projection": "A String", # The projection format of this broadcast. This defaults to rectangular. 140 "recordFromStart": True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback. 141 "startWithSlate": True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers. 142 "stereoLayout": "A String", # The 3D stereo layout of this broadcast. This defaults to mono. 143 }, 144 "etag": "A String", # Etag of this resource. 145 "id": "A String", # The ID that YouTube assigns to uniquely identify the broadcast. 146 "kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast". 147 "snippet": { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time. 148 "actualEndTime": "A String", # The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete. 149 "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. 150 "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. 151 "description": "A String", # The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource. 152 "isDefaultBroadcast": True or False, # Indicates whether this broadcast is the default broadcast. Internal only. 153 "liveChatId": "A String", # The id of the live chat for this broadcast. 154 "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. 155 "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. 156 "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. 157 "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. 158 "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource. 159 "height": 42, # (Optional) Height of the thumbnail image. 160 "url": "A String", # The thumbnail image's URL. 161 "width": 42, # (Optional) Width of the thumbnail image. 162 }, 163 "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource. 164 "height": 42, # (Optional) Height of the thumbnail image. 165 "url": "A String", # The thumbnail image's URL. 166 "width": 42, # (Optional) Width of the thumbnail image. 167 }, 168 "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource. 169 "height": 42, # (Optional) Height of the thumbnail image. 170 "url": "A String", # The thumbnail image's URL. 171 "width": 42, # (Optional) Width of the thumbnail image. 172 }, 173 "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource. 174 "height": 42, # (Optional) Height of the thumbnail image. 175 "url": "A String", # The thumbnail image's URL. 176 "width": 42, # (Optional) Width of the thumbnail image. 177 }, 178 "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource. 179 "height": 42, # (Optional) Height of the thumbnail image. 180 "url": "A String", # The thumbnail image's URL. 181 "width": 42, # (Optional) Width of the thumbnail image. 182 }, 183 }, 184 "title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. 185 }, 186 "statistics": { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event's current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live. 187 "totalChatCount": "A String", # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast. 188 }, 189 "status": { # Live broadcast state. # The status object contains information about the event's status. 190 "lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method. 191 "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state). 192 "madeForKids": True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only. 193 "privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource. 194 "recordingStatus": "A String", # The broadcast's recording status. 195 "selfDeclaredMadeForKids": True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work. 196 }, 197}</pre> 198</div> 199 200<div class="method"> 201 <code class="details" id="close">close()</code> 202 <pre>Close httplib2 connections.</pre> 203</div> 204 205<div class="method"> 206 <code class="details" id="delete">delete(id, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code> 207 <pre>Delete a given broadcast. 208 209Args: 210 id: string, Broadcast to delete. (required) 211 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. 212 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel. 213 x__xgafv: string, V1 error format. 214 Allowed values 215 1 - v1 error format 216 2 - v2 error format 217</pre> 218</div> 219 220<div class="method"> 221 <code class="details" id="insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code> 222 <pre>Inserts a new stream for the authenticated user. 223 224Args: 225 part: string, The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status. (required) (repeated) 226 body: object, The request body. 227 The object takes the form of: 228 229{ # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube. 230 "contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded. 231 "boundStreamId": "A String", # This value uniquely identifies the live stream bound to the broadcast. 232 "boundStreamLastUpdateTimeMs": "A String", # The date and time that the live stream referenced by boundStreamId was last updated. 233 "closedCaptionsType": "A String", 234 "enableAutoStart": True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 235 "enableAutoStop": True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 236 "enableClosedCaptions": True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST. 237 "enableContentEncryption": True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast. 238 "enableDvr": True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends. 239 "enableEmbed": True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video. 240 "enableLowLatency": True or False, # Indicates whether this broadcast has low latency enabled. 241 "latencyPreference": "A String", # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted. 242 "mesh": "A String", # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags. 243 "monitorStream": { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly. 244 "broadcastStreamDelayMs": 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay. 245 "embedHtml": "A String", # HTML code that embeds a player that plays the monitor stream. 246 "enableMonitorStream": True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster's consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state. 247 }, 248 "projection": "A String", # The projection format of this broadcast. This defaults to rectangular. 249 "recordFromStart": True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback. 250 "startWithSlate": True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers. 251 "stereoLayout": "A String", # The 3D stereo layout of this broadcast. This defaults to mono. 252 }, 253 "etag": "A String", # Etag of this resource. 254 "id": "A String", # The ID that YouTube assigns to uniquely identify the broadcast. 255 "kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast". 256 "snippet": { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time. 257 "actualEndTime": "A String", # The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete. 258 "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. 259 "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. 260 "description": "A String", # The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource. 261 "isDefaultBroadcast": True or False, # Indicates whether this broadcast is the default broadcast. Internal only. 262 "liveChatId": "A String", # The id of the live chat for this broadcast. 263 "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. 264 "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. 265 "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. 266 "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. 267 "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource. 268 "height": 42, # (Optional) Height of the thumbnail image. 269 "url": "A String", # The thumbnail image's URL. 270 "width": 42, # (Optional) Width of the thumbnail image. 271 }, 272 "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource. 273 "height": 42, # (Optional) Height of the thumbnail image. 274 "url": "A String", # The thumbnail image's URL. 275 "width": 42, # (Optional) Width of the thumbnail image. 276 }, 277 "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource. 278 "height": 42, # (Optional) Height of the thumbnail image. 279 "url": "A String", # The thumbnail image's URL. 280 "width": 42, # (Optional) Width of the thumbnail image. 281 }, 282 "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource. 283 "height": 42, # (Optional) Height of the thumbnail image. 284 "url": "A String", # The thumbnail image's URL. 285 "width": 42, # (Optional) Width of the thumbnail image. 286 }, 287 "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource. 288 "height": 42, # (Optional) Height of the thumbnail image. 289 "url": "A String", # The thumbnail image's URL. 290 "width": 42, # (Optional) Width of the thumbnail image. 291 }, 292 }, 293 "title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. 294 }, 295 "statistics": { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event's current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live. 296 "totalChatCount": "A String", # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast. 297 }, 298 "status": { # Live broadcast state. # The status object contains information about the event's status. 299 "lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method. 300 "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state). 301 "madeForKids": True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only. 302 "privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource. 303 "recordingStatus": "A String", # The broadcast's recording status. 304 "selfDeclaredMadeForKids": True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work. 305 }, 306} 307 308 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. 309 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel. 310 x__xgafv: string, V1 error format. 311 Allowed values 312 1 - v1 error format 313 2 - v2 error format 314 315Returns: 316 An object of the form: 317 318 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube. 319 "contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded. 320 "boundStreamId": "A String", # This value uniquely identifies the live stream bound to the broadcast. 321 "boundStreamLastUpdateTimeMs": "A String", # The date and time that the live stream referenced by boundStreamId was last updated. 322 "closedCaptionsType": "A String", 323 "enableAutoStart": True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 324 "enableAutoStop": True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 325 "enableClosedCaptions": True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST. 326 "enableContentEncryption": True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast. 327 "enableDvr": True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends. 328 "enableEmbed": True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video. 329 "enableLowLatency": True or False, # Indicates whether this broadcast has low latency enabled. 330 "latencyPreference": "A String", # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted. 331 "mesh": "A String", # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags. 332 "monitorStream": { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly. 333 "broadcastStreamDelayMs": 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay. 334 "embedHtml": "A String", # HTML code that embeds a player that plays the monitor stream. 335 "enableMonitorStream": True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster's consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state. 336 }, 337 "projection": "A String", # The projection format of this broadcast. This defaults to rectangular. 338 "recordFromStart": True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback. 339 "startWithSlate": True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers. 340 "stereoLayout": "A String", # The 3D stereo layout of this broadcast. This defaults to mono. 341 }, 342 "etag": "A String", # Etag of this resource. 343 "id": "A String", # The ID that YouTube assigns to uniquely identify the broadcast. 344 "kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast". 345 "snippet": { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time. 346 "actualEndTime": "A String", # The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete. 347 "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. 348 "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. 349 "description": "A String", # The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource. 350 "isDefaultBroadcast": True or False, # Indicates whether this broadcast is the default broadcast. Internal only. 351 "liveChatId": "A String", # The id of the live chat for this broadcast. 352 "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. 353 "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. 354 "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. 355 "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. 356 "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource. 357 "height": 42, # (Optional) Height of the thumbnail image. 358 "url": "A String", # The thumbnail image's URL. 359 "width": 42, # (Optional) Width of the thumbnail image. 360 }, 361 "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource. 362 "height": 42, # (Optional) Height of the thumbnail image. 363 "url": "A String", # The thumbnail image's URL. 364 "width": 42, # (Optional) Width of the thumbnail image. 365 }, 366 "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource. 367 "height": 42, # (Optional) Height of the thumbnail image. 368 "url": "A String", # The thumbnail image's URL. 369 "width": 42, # (Optional) Width of the thumbnail image. 370 }, 371 "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource. 372 "height": 42, # (Optional) Height of the thumbnail image. 373 "url": "A String", # The thumbnail image's URL. 374 "width": 42, # (Optional) Width of the thumbnail image. 375 }, 376 "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource. 377 "height": 42, # (Optional) Height of the thumbnail image. 378 "url": "A String", # The thumbnail image's URL. 379 "width": 42, # (Optional) Width of the thumbnail image. 380 }, 381 }, 382 "title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. 383 }, 384 "statistics": { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event's current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live. 385 "totalChatCount": "A String", # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast. 386 }, 387 "status": { # Live broadcast state. # The status object contains information about the event's status. 388 "lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method. 389 "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state). 390 "madeForKids": True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only. 391 "privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource. 392 "recordingStatus": "A String", # The broadcast's recording status. 393 "selfDeclaredMadeForKids": True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work. 394 }, 395}</pre> 396</div> 397 398<div class="method"> 399 <code class="details" id="list">list(part, broadcastStatus=None, broadcastType=None, id=None, maxResults=None, mine=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, pageToken=None, x__xgafv=None)</code> 400 <pre>Retrieve the list of broadcasts associated with the given channel. 401 402Args: 403 part: string, The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, status and statistics. (required) (repeated) 404 broadcastStatus: string, Return broadcasts with a certain status, e.g. active broadcasts. 405 Allowed values 406 broadcastStatusFilterUnspecified - 407 all - Return all broadcasts. 408 active - Return current live broadcasts. 409 upcoming - Return broadcasts that have not yet started. 410 completed - Return broadcasts that have already ended. 411 broadcastType: string, Return only broadcasts with the selected type. 412 Allowed values 413 broadcastTypeFilterUnspecified - 414 all - Return all broadcasts. 415 event - Return only scheduled event broadcasts. 416 persistent - Return only persistent broadcasts. 417 id: string, Return broadcasts with the given ids from Stubby or Apiary. (repeated) 418 maxResults: integer, The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. 419 mine: boolean, A parameter 420 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. 421 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel. 422 pageToken: string, The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved. 423 x__xgafv: string, V1 error format. 424 Allowed values 425 1 - v1 error format 426 2 - v2 error format 427 428Returns: 429 An object of the form: 430 431 { 432 "etag": "A String", # Etag of this resource. 433 "eventId": "A String", # Serialized EventId of the request which produced this response. 434 "items": [ # A list of broadcasts that match the request criteria. 435 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube. 436 "contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded. 437 "boundStreamId": "A String", # This value uniquely identifies the live stream bound to the broadcast. 438 "boundStreamLastUpdateTimeMs": "A String", # The date and time that the live stream referenced by boundStreamId was last updated. 439 "closedCaptionsType": "A String", 440 "enableAutoStart": True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 441 "enableAutoStop": True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 442 "enableClosedCaptions": True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST. 443 "enableContentEncryption": True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast. 444 "enableDvr": True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends. 445 "enableEmbed": True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video. 446 "enableLowLatency": True or False, # Indicates whether this broadcast has low latency enabled. 447 "latencyPreference": "A String", # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted. 448 "mesh": "A String", # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags. 449 "monitorStream": { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly. 450 "broadcastStreamDelayMs": 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay. 451 "embedHtml": "A String", # HTML code that embeds a player that plays the monitor stream. 452 "enableMonitorStream": True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster's consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state. 453 }, 454 "projection": "A String", # The projection format of this broadcast. This defaults to rectangular. 455 "recordFromStart": True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback. 456 "startWithSlate": True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers. 457 "stereoLayout": "A String", # The 3D stereo layout of this broadcast. This defaults to mono. 458 }, 459 "etag": "A String", # Etag of this resource. 460 "id": "A String", # The ID that YouTube assigns to uniquely identify the broadcast. 461 "kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast". 462 "snippet": { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time. 463 "actualEndTime": "A String", # The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete. 464 "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. 465 "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. 466 "description": "A String", # The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource. 467 "isDefaultBroadcast": True or False, # Indicates whether this broadcast is the default broadcast. Internal only. 468 "liveChatId": "A String", # The id of the live chat for this broadcast. 469 "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. 470 "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. 471 "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. 472 "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. 473 "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource. 474 "height": 42, # (Optional) Height of the thumbnail image. 475 "url": "A String", # The thumbnail image's URL. 476 "width": 42, # (Optional) Width of the thumbnail image. 477 }, 478 "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource. 479 "height": 42, # (Optional) Height of the thumbnail image. 480 "url": "A String", # The thumbnail image's URL. 481 "width": 42, # (Optional) Width of the thumbnail image. 482 }, 483 "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource. 484 "height": 42, # (Optional) Height of the thumbnail image. 485 "url": "A String", # The thumbnail image's URL. 486 "width": 42, # (Optional) Width of the thumbnail image. 487 }, 488 "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource. 489 "height": 42, # (Optional) Height of the thumbnail image. 490 "url": "A String", # The thumbnail image's URL. 491 "width": 42, # (Optional) Width of the thumbnail image. 492 }, 493 "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource. 494 "height": 42, # (Optional) Height of the thumbnail image. 495 "url": "A String", # The thumbnail image's URL. 496 "width": 42, # (Optional) Width of the thumbnail image. 497 }, 498 }, 499 "title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. 500 }, 501 "statistics": { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event's current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live. 502 "totalChatCount": "A String", # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast. 503 }, 504 "status": { # Live broadcast state. # The status object contains information about the event's status. 505 "lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method. 506 "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state). 507 "madeForKids": True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only. 508 "privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource. 509 "recordingStatus": "A String", # The broadcast's recording status. 510 "selfDeclaredMadeForKids": True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work. 511 }, 512 }, 513 ], 514 "kind": "youtube#liveBroadcastListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcastListResponse". 515 "nextPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. 516 "pageInfo": { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page. # General pagination information. 517 "resultsPerPage": 42, # The number of results included in the API response. 518 "totalResults": 42, # The total number of results in the result set. 519 }, 520 "prevPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. 521 "tokenPagination": { # Stub token pagination template to suppress results. 522 }, 523 "visitorId": "A String", # The visitorId identifies the visitor. 524}</pre> 525</div> 526 527<div class="method"> 528 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 529 <pre>Retrieves the next page of results. 530 531Args: 532 previous_request: The request for the previous page. (required) 533 previous_response: The response from the request for the previous page. (required) 534 535Returns: 536 A request object that you can call 'execute()' on to request the next 537 page. Returns None if there are no more items in the collection. 538 </pre> 539</div> 540 541<div class="method"> 542 <code class="details" id="transition">transition(broadcastStatus, id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code> 543 <pre>Transition a broadcast to a given status. 544 545Args: 546 broadcastStatus: string, The status to which the broadcast is going to transition. (required) 547 Allowed values 548 statusUnspecified - 549 testing - Start testing the broadcast. YouTube transmits video to the broadcast's monitor stream. Note that you can only transition a broadcast to the testing state if its contentDetails.monitorStream.enableMonitorStream property is set to true.", 550 live - Return only persistent broadcasts. 551 complete - The broadcast is over. YouTube stops transmitting video. 552 id: string, Broadcast to transition. (required) 553 part: string, The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status. (required) (repeated) 554 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. 555 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel. 556 x__xgafv: string, V1 error format. 557 Allowed values 558 1 - v1 error format 559 2 - v2 error format 560 561Returns: 562 An object of the form: 563 564 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube. 565 "contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded. 566 "boundStreamId": "A String", # This value uniquely identifies the live stream bound to the broadcast. 567 "boundStreamLastUpdateTimeMs": "A String", # The date and time that the live stream referenced by boundStreamId was last updated. 568 "closedCaptionsType": "A String", 569 "enableAutoStart": True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 570 "enableAutoStop": True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 571 "enableClosedCaptions": True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST. 572 "enableContentEncryption": True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast. 573 "enableDvr": True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends. 574 "enableEmbed": True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video. 575 "enableLowLatency": True or False, # Indicates whether this broadcast has low latency enabled. 576 "latencyPreference": "A String", # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted. 577 "mesh": "A String", # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags. 578 "monitorStream": { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly. 579 "broadcastStreamDelayMs": 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay. 580 "embedHtml": "A String", # HTML code that embeds a player that plays the monitor stream. 581 "enableMonitorStream": True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster's consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state. 582 }, 583 "projection": "A String", # The projection format of this broadcast. This defaults to rectangular. 584 "recordFromStart": True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback. 585 "startWithSlate": True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers. 586 "stereoLayout": "A String", # The 3D stereo layout of this broadcast. This defaults to mono. 587 }, 588 "etag": "A String", # Etag of this resource. 589 "id": "A String", # The ID that YouTube assigns to uniquely identify the broadcast. 590 "kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast". 591 "snippet": { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time. 592 "actualEndTime": "A String", # The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete. 593 "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. 594 "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. 595 "description": "A String", # The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource. 596 "isDefaultBroadcast": True or False, # Indicates whether this broadcast is the default broadcast. Internal only. 597 "liveChatId": "A String", # The id of the live chat for this broadcast. 598 "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. 599 "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. 600 "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. 601 "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. 602 "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource. 603 "height": 42, # (Optional) Height of the thumbnail image. 604 "url": "A String", # The thumbnail image's URL. 605 "width": 42, # (Optional) Width of the thumbnail image. 606 }, 607 "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource. 608 "height": 42, # (Optional) Height of the thumbnail image. 609 "url": "A String", # The thumbnail image's URL. 610 "width": 42, # (Optional) Width of the thumbnail image. 611 }, 612 "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource. 613 "height": 42, # (Optional) Height of the thumbnail image. 614 "url": "A String", # The thumbnail image's URL. 615 "width": 42, # (Optional) Width of the thumbnail image. 616 }, 617 "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource. 618 "height": 42, # (Optional) Height of the thumbnail image. 619 "url": "A String", # The thumbnail image's URL. 620 "width": 42, # (Optional) Width of the thumbnail image. 621 }, 622 "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource. 623 "height": 42, # (Optional) Height of the thumbnail image. 624 "url": "A String", # The thumbnail image's URL. 625 "width": 42, # (Optional) Width of the thumbnail image. 626 }, 627 }, 628 "title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. 629 }, 630 "statistics": { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event's current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live. 631 "totalChatCount": "A String", # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast. 632 }, 633 "status": { # Live broadcast state. # The status object contains information about the event's status. 634 "lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method. 635 "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state). 636 "madeForKids": True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only. 637 "privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource. 638 "recordingStatus": "A String", # The broadcast's recording status. 639 "selfDeclaredMadeForKids": True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work. 640 }, 641}</pre> 642</div> 643 644<div class="method"> 645 <code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code> 646 <pre>Updates an existing broadcast for the authenticated user. 647 648Args: 649 part: string, The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a broadcast's privacy status is defined in the status part. As such, if your request is updating a private or unlisted broadcast, and the request's part parameter value includes the status part, the broadcast's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the broadcast will revert to the default privacy setting. (required) (repeated) 650 body: object, The request body. 651 The object takes the form of: 652 653{ # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube. 654 "contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded. 655 "boundStreamId": "A String", # This value uniquely identifies the live stream bound to the broadcast. 656 "boundStreamLastUpdateTimeMs": "A String", # The date and time that the live stream referenced by boundStreamId was last updated. 657 "closedCaptionsType": "A String", 658 "enableAutoStart": True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 659 "enableAutoStop": True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 660 "enableClosedCaptions": True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST. 661 "enableContentEncryption": True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast. 662 "enableDvr": True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends. 663 "enableEmbed": True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video. 664 "enableLowLatency": True or False, # Indicates whether this broadcast has low latency enabled. 665 "latencyPreference": "A String", # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted. 666 "mesh": "A String", # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags. 667 "monitorStream": { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly. 668 "broadcastStreamDelayMs": 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay. 669 "embedHtml": "A String", # HTML code that embeds a player that plays the monitor stream. 670 "enableMonitorStream": True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster's consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state. 671 }, 672 "projection": "A String", # The projection format of this broadcast. This defaults to rectangular. 673 "recordFromStart": True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback. 674 "startWithSlate": True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers. 675 "stereoLayout": "A String", # The 3D stereo layout of this broadcast. This defaults to mono. 676 }, 677 "etag": "A String", # Etag of this resource. 678 "id": "A String", # The ID that YouTube assigns to uniquely identify the broadcast. 679 "kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast". 680 "snippet": { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time. 681 "actualEndTime": "A String", # The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete. 682 "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. 683 "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. 684 "description": "A String", # The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource. 685 "isDefaultBroadcast": True or False, # Indicates whether this broadcast is the default broadcast. Internal only. 686 "liveChatId": "A String", # The id of the live chat for this broadcast. 687 "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. 688 "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. 689 "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. 690 "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. 691 "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource. 692 "height": 42, # (Optional) Height of the thumbnail image. 693 "url": "A String", # The thumbnail image's URL. 694 "width": 42, # (Optional) Width of the thumbnail image. 695 }, 696 "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource. 697 "height": 42, # (Optional) Height of the thumbnail image. 698 "url": "A String", # The thumbnail image's URL. 699 "width": 42, # (Optional) Width of the thumbnail image. 700 }, 701 "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource. 702 "height": 42, # (Optional) Height of the thumbnail image. 703 "url": "A String", # The thumbnail image's URL. 704 "width": 42, # (Optional) Width of the thumbnail image. 705 }, 706 "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource. 707 "height": 42, # (Optional) Height of the thumbnail image. 708 "url": "A String", # The thumbnail image's URL. 709 "width": 42, # (Optional) Width of the thumbnail image. 710 }, 711 "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource. 712 "height": 42, # (Optional) Height of the thumbnail image. 713 "url": "A String", # The thumbnail image's URL. 714 "width": 42, # (Optional) Width of the thumbnail image. 715 }, 716 }, 717 "title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. 718 }, 719 "statistics": { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event's current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live. 720 "totalChatCount": "A String", # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast. 721 }, 722 "status": { # Live broadcast state. # The status object contains information about the event's status. 723 "lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method. 724 "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state). 725 "madeForKids": True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only. 726 "privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource. 727 "recordingStatus": "A String", # The broadcast's recording status. 728 "selfDeclaredMadeForKids": True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work. 729 }, 730} 731 732 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. 733 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel. 734 x__xgafv: string, V1 error format. 735 Allowed values 736 1 - v1 error format 737 2 - v2 error format 738 739Returns: 740 An object of the form: 741 742 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube. 743 "contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded. 744 "boundStreamId": "A String", # This value uniquely identifies the live stream bound to the broadcast. 745 "boundStreamLastUpdateTimeMs": "A String", # The date and time that the live stream referenced by boundStreamId was last updated. 746 "closedCaptionsType": "A String", 747 "enableAutoStart": True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 748 "enableAutoStop": True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events. 749 "enableClosedCaptions": True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST. 750 "enableContentEncryption": True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast. 751 "enableDvr": True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends. 752 "enableEmbed": True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video. 753 "enableLowLatency": True or False, # Indicates whether this broadcast has low latency enabled. 754 "latencyPreference": "A String", # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted. 755 "mesh": "A String", # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags. 756 "monitorStream": { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly. 757 "broadcastStreamDelayMs": 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay. 758 "embedHtml": "A String", # HTML code that embeds a player that plays the monitor stream. 759 "enableMonitorStream": True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster's consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state. 760 }, 761 "projection": "A String", # The projection format of this broadcast. This defaults to rectangular. 762 "recordFromStart": True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback. 763 "startWithSlate": True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers. 764 "stereoLayout": "A String", # The 3D stereo layout of this broadcast. This defaults to mono. 765 }, 766 "etag": "A String", # Etag of this resource. 767 "id": "A String", # The ID that YouTube assigns to uniquely identify the broadcast. 768 "kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast". 769 "snippet": { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time. 770 "actualEndTime": "A String", # The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete. 771 "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. 772 "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. 773 "description": "A String", # The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource. 774 "isDefaultBroadcast": True or False, # Indicates whether this broadcast is the default broadcast. Internal only. 775 "liveChatId": "A String", # The id of the live chat for this broadcast. 776 "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. 777 "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. 778 "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. 779 "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. 780 "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource. 781 "height": 42, # (Optional) Height of the thumbnail image. 782 "url": "A String", # The thumbnail image's URL. 783 "width": 42, # (Optional) Width of the thumbnail image. 784 }, 785 "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource. 786 "height": 42, # (Optional) Height of the thumbnail image. 787 "url": "A String", # The thumbnail image's URL. 788 "width": 42, # (Optional) Width of the thumbnail image. 789 }, 790 "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource. 791 "height": 42, # (Optional) Height of the thumbnail image. 792 "url": "A String", # The thumbnail image's URL. 793 "width": 42, # (Optional) Width of the thumbnail image. 794 }, 795 "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource. 796 "height": 42, # (Optional) Height of the thumbnail image. 797 "url": "A String", # The thumbnail image's URL. 798 "width": 42, # (Optional) Width of the thumbnail image. 799 }, 800 "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource. 801 "height": 42, # (Optional) Height of the thumbnail image. 802 "url": "A String", # The thumbnail image's URL. 803 "width": 42, # (Optional) Width of the thumbnail image. 804 }, 805 }, 806 "title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. 807 }, 808 "statistics": { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event's current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live. 809 "totalChatCount": "A String", # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast. 810 }, 811 "status": { # Live broadcast state. # The status object contains information about the event's status. 812 "lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method. 813 "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state). 814 "madeForKids": True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only. 815 "privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource. 816 "recordingStatus": "A String", # The broadcast's recording status. 817 "selfDeclaredMadeForKids": True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work. 818 }, 819}</pre> 820</div> 821 822</body></html>