Class LiveSession (0.1.2)

LiveSession(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata for a live session.

Attributes

NameDescription
name str
Output only. The name of the live session, in the form of projects/{project}/locations/{location}/liveSessions/{id}.
play_uri str
Output only. The URI to play the live session's ad-stitched stream.
source_uri str
The URI of the live session's source stream.
default_ad_tag_id str
The default ad tag to use when no ad tag ids are specified in an ad break's SCTE-35 message. default_ad_tag_id is necessary when adTagMap has more than one key. Its value must be present in the adTagMap.
ad_tag_map Mapping[str, google.cloud.video.stitcher_v1.types.AdTag]
Key value pairs for ad tags. Ads parsed from ad tags must be MP4 videos each with at least one audio track.
ad_tag_macros Mapping[str, str]
Key value pairs for ad tag macro replacement. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets. For example: Ad tag URI: "https://doubleclick.google.com/ad/1?geo_id=[geoId]" Ad tag macros: {"geoId": "123"} Fully qualified ad tag: "https://doubleclick.google.com/ad/1?geo_id=123"
client_ad_tracking bool
Whether client side ad tracking is enabled. If enabled, the client player is expected to trigger playback and activity events itself. Otherwise, server side ad tracking is enabled and the Video Stitcher API will trigger playback events on behalf of the client player.
default_slate_id str
The default slate to use when no slates are specified in an ad break's SCTE-35 message. When specified, this value must match the ID for a slate that has already been created via the CreateSlate __ method.
stitching_policy google.cloud.video.stitcher_v1.types.LiveSession.StitchingPolicy
Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries. If not specified, the default is COMPLETE_AD.
manifest_options google.cloud.video.stitcher_v1.types.ManifestOptions
Additional options that affect the output of the manifest.

Classes

AdTagMacrosEntry

AdTagMacrosEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

AdTagMapEntry

AdTagMapEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

StitchingPolicy

StitchingPolicy(value)

Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries. If not specified, the default is COMPLETE_AD.