type HlsSettings (v202408)
Service
LiveStreamEventService
LiveStream
settings that are specific to the HTTP live streaming (HLS) protocol.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
playlistType
|
PlaylistType
Indicates the type of the playlist associated with this live stream. The playlist type is
analogous to the EXT-X-PLAYLIST-TYPE HLS tag. This field is optional and will default to PlaylistType.LIVE. This field cannot be modified after live stream creation.
Enumerations
-
EVENT
- The playlist is an event, which means that media segments can only be added to the end of the
playlist. This allows viewers to scrub back to the beginning of the playlist.
-
LIVE
- The playlist is a live stream and there are no restrictions on whether media segments can be
removed from the beginning of the playlist.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
masterPlaylistSettings
|
MasterPlaylistSettings
The settings for the master playlist. This field is optional and if it is not set will default
to a MasterPlaylistSettings with a refresh type of RefreshType.AUTOMATIC.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["HlsSettings define HTTP live streaming (HLS) protocol-specific settings for LiveStream."],["`playlistType` indicates the playlist type, defaulting to `LIVE` if not specified and can be `EVENT`, `LIVE`, or `UNKNOWN`."],["`masterPlaylistSettings`, optional, defaults to `MasterPlaylistSettings` with automatic refresh type if not set."]]],["The provided content describes `HlsSettings` within the `LiveStreamEventService`, focusing on HTTP live streaming (HLS) protocol specifics. It details two key fields: `playlistType` and `masterPlaylistSettings`. `playlistType` dictates the playlist's behavior, defaulting to `LIVE` and offering `EVENT` and `UNKNOWN` options. This cannot be changed after stream creation. `masterPlaylistSettings` defines master playlist configurations, defaulting to `AUTOMATIC` refresh. The namespace for these settings is `https://www.google.com/apis/ads/publisher/v202408`.\n"]]