Video Stitcher v1 API - Class LiveSession (3.0.0-beta03)

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
NameDescription
otherLiveSession

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
TypeDescription
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
TypeDescription
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
TypeDescription
string

LiveConfigAsLiveConfigName

public LiveConfigName LiveConfigAsLiveConfigName { get; set; }

LiveConfigName-typed view over the LiveConfig resource name property.

Property Value
TypeDescription
LiveConfigName

LiveSessionName

public LiveSessionName LiveSessionName { get; set; }

LiveSessionName-typed view over the Name resource name property.

Property Value
TypeDescription
LiveSessionName

ManifestOptions

public ManifestOptions ManifestOptions { get; set; }

Additional options that affect the output of the manifest.

Property Value
TypeDescription
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
TypeDescription
string

PlayUri

public string PlayUri { get; set; }

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

Property Value
TypeDescription
string