public sealed class DvrSession : IMessage<DvrSession>, IEquatable<DvrSession>, IDeepCloneable<DvrSession>, IBufferMessage, IMessage
Reference documentation and code samples for the Live Stream v1 API class DvrSession.
DvrSession is a sub-resource under channel. Each DvrSession represents a DVR recording of the live stream for a specific time range.
Implements
IMessageDvrSession, IEquatableDvrSession, IDeepCloneableDvrSession, IBufferMessage, IMessageNamespace
Google.Cloud.Video.LiveStream.V1Assembly
Google.Cloud.Video.LiveStream.V1.dll
Constructors
DvrSession()
public DvrSession()
DvrSession(DvrSession)
public DvrSession(DvrSession other)
Parameter | |
---|---|
Name | Description |
other |
DvrSession |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The creation time.
Property Value | |
---|---|
Type | Description |
Timestamp |
DvrManifests
public RepeatedField<DvrSession.Types.DvrManifest> DvrManifests { get; }
Required. A list of DVR manifests. Currently only one DVR manifest is allowed.
Property Value | |
---|---|
Type | Description |
RepeatedFieldDvrSessionTypesDvrManifest |
DvrSessionName
public DvrSessionName DvrSessionName { get; set; }
DvrSessionName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
DvrSessionName |
DvrWindows
public RepeatedField<DvrSession.Types.DvrWindow> DvrWindows { get; }
Required. The specified ranges of segments to generate a DVR recording.
Property Value | |
---|---|
Type | Description |
RepeatedFieldDvrSessionTypesDvrWindow |
Error
public Status Error { get; set; }
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
Property Value | |
---|---|
Type | Description |
Status |
Labels
public MapField<string, string> Labels { get; }
Optional. User-defined key/value metadata.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Name
public string Name { get; set; }
Identifier. The resource name of the DVR session, in the following format:
projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}
.
{dvrSessionId}
is a user-specified resource id that conforms to the
following criteria:
- 1 character minimum, 63 characters maximum
- Only contains letters, digits, underscores, and hyphens
Property Value | |
---|---|
Type | Description |
string |
State
public DvrSession.Types.State State { get; set; }
Output only. The state of the clip.
Property Value | |
---|---|
Type | Description |
DvrSessionTypesState |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The update time.
Property Value | |
---|---|
Type | Description |
Timestamp |