Class ApiMediaMetadata
Audio/video container and per-stream metadata. Fields are populated on a best-effort basis and may be empty when absent from the source file.
Inherited Members
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ApiMediaMetadata
Constructors
View SourceApiMediaMetadata(ulong, double, string, IEnumerable<ApiMediaStream>)
Initializes a new instance of the ApiMediaMetadata class.
Declaration
public ApiMediaMetadata(ulong bitrateBps = 0, double durationS = 0, string creationTime = "", IEnumerable<ApiMediaStream> streams = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | bitrateBps | Overall bitrate of the container, in bits per second. |
| double | durationS | Duration of the media, in seconds. |
| string | creationTime | Container-level creation time, when present. |
| IEnumerable<ApiMediaStream> | streams | The audio and video streams the container holds, in container order. |
Properties
View SourceBitrateBps
Overall bitrate of the container, in bits per second.
Declaration
public ulong BitrateBps { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ulong |
CreationTime
Container-level creation time, when present.
Declaration
public string CreationTime { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
DurationS
Duration of the media, in seconds.
Declaration
public double DurationS { get; protected set; }
Property Value
| Type | Description |
|---|---|
| double |
Streams
The audio and video streams the container holds, in container order.
Declaration
public IList<ApiMediaStream> Streams { get; protected set; }
Property Value
| Type | Description |
|---|---|
| IList<ApiMediaStream> |