Video Stitcher v1 API - Class LiveSession (3.2.0)

public sealed class LiveSession : IMessage<LiveSession>, IEquatable<LiveSession>, IDeepCloneable<LiveSession>, IBufferMessage, IMessage

Reference documentation and code samples for the Video Stitcher v1 API class LiveSession.

Metadata for a live session. The session expires 5 minutes after the client stops fetching the session's playlists.

Inheritance

object > LiveSession

Namespace

Google.Cloud.Video.Stitcher.V1

Assembly

Google.Cloud.Video.Stitcher.V1.dll

Constructors

LiveSession()

public LiveSession()

LiveSession(LiveSession)

public LiveSession(LiveSession other)
Parameter
Name Description
other LiveSession

Properties

AdTagMacros

public MapField<string, string> AdTagMacros { get; }

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"

Property Value
Type Description
MapFieldstringstring

GamSettings

public LiveSession.Types.GamSettings GamSettings { get; set; }

This field should be set with appropriate values if GAM is being used for ads.

Property Value
Type Description
LiveSessionTypesGamSettings

LiveConfig

public string LiveConfig { get; set; }

Required. The resource name of the live config for this session, in the form of projects/{project}/locations/{location}/liveConfigs/{id}.

Property Value
Type Description
string

LiveConfigAsLiveConfigName

public LiveConfigName LiveConfigAsLiveConfigName { get; set; }

LiveConfigName-typed view over the LiveConfig resource name property.

Property Value
Type Description
LiveConfigName

LiveSessionName

public LiveSessionName LiveSessionName { get; set; }

LiveSessionName-typed view over the Name resource name property.

Property Value
Type Description
LiveSessionName

ManifestOptions

public ManifestOptions ManifestOptions { get; set; }

Additional options that affect the output of the manifest.

Property Value
Type Description
ManifestOptions

Name

public string Name { get; set; }

Output only. The name of the live session, in the form of projects/{project}/locations/{location}/liveSessions/{id}.

Property Value
Type Description
string

PlayUri

public string PlayUri { get; set; }

Output only. The URI to play the live session's ad-stitched stream.

Property Value
Type Description
string