AI-generated Key Takeaways
-
PlaylistType
in LiveStreamEventService describes the playlist type associated with a live stream, similar to the HLS tag EXT-X-PLAYLIST-TYPE. -
It has three enumerations:
EVENT
for playlists where segments are only added at the end,LIVE
for playlists without restrictions on segment removal, andUNKNOWN
for values not exposed by the API. -
Use
PlaylistType.EVENT
for streams with "#EXT-X-PLAYLIST-TYPE:EVENT" andPlaylistType.LIVE
for streams without this tag.
Describes the type of the playlist associated with this live stream. This is analagous to the
EXT-X-PLAYLIST-TYPE HLS tag. Use PlaylistType.EVENT
for streams with the value
"#EXT-X-PLAYLIST-TYPE:EVENT" and use PlaylistType.LIVE
for streams without the tag.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration | Description |
---|---|
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. |