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.
Implements
IMessage<LiveSession>, IEquatable<LiveSession>, IDeepCloneable<LiveSession>, IBufferMessage, IMessageNamespace
Google.Cloud.Video.Stitcher.V1Assembly
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 |
MapField<String, String> |
AdTagMap
public MapField<string, AdTag> AdTagMap { get; }
Key value pairs for ad tags. Ads parsed from ad tags must be MP4 videos each with at least one audio track.
Property Value | |
---|---|
Type | Description |
MapField<String, AdTag> |
ClientAdTracking
public bool ClientAdTracking { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Boolean |
DefaultAdTagId
public string DefaultAdTagId { get; set; }
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
.
Property Value | |
---|---|
Type | Description |
String |
DefaultSlateId
public string DefaultSlateId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |
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 |
SourceUri
public string SourceUri { get; set; }
The URI of the live session's source stream.
Property Value | |
---|---|
Type | Description |
String |
StitchingPolicy
public LiveSession.Types.StitchingPolicy StitchingPolicy { get; set; }
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
.
Property Value | |
---|---|
Type | Description |
LiveSession.Types.StitchingPolicy |
StreamId
public string StreamId { get; set; }
Output only. The generated ID of the LiveSession's source stream.
Property Value | |
---|---|
Type | Description |
String |