Google Ads Ad Manager V1 Client - Class HlsSettingsPlaylistType (0.8.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class HlsSettingsPlaylistType.

Describes the type of the playlist associated with this live stream. This is analogous to the EXT-X-PLAYLIST-TYPE HLS tag. Use HlsSettingsPlaylistType.EVENT for streams with the value "#EXT-X-PLAYLIST-TYPE:EVENT" and use HlsSettingsPlaylistType.LIVE for streams without the tag.

Protobuf type google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType

Namespace

Google \ Ads \ AdManager \ V1 \ HlsSettingsPlaylistTypeEnum

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

HLS_SETTINGS_PLAYLIST_TYPE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum HLS_SETTINGS_PLAYLIST_TYPE_UNSPECIFIED = 0;

EVENT

Value: 1

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.

Generated from protobuf enum EVENT = 1;

LIVE

Value: 2

The playlist is a live stream and there are no restrictions on whether media segments can be removed from the beginning of the playlist.

Generated from protobuf enum LIVE = 2;