Dropbox .NET SDK
Show / Hide Table of Contents

Class ApiMediaStream

A single audio or video stream within a media file.

Inheritance
object
ApiMediaStream
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ApiMediaStream

Constructors

View Source

ApiMediaStream(uint, string, string, ulong, double, uint, uint, double, int, string, uint, string, ulong, string)

Initializes a new instance of the ApiMediaStream class.

Declaration
public ApiMediaStream(uint index = 0, string codecType = "", string codecName = "", ulong bitrateBps = 0, double durationS = 0, uint width = 0, uint height = 0, double framesPerSecond = 0, int rotation = 0, string displayAspectRatio = "", uint channels = 0, string channelLayout = "", ulong sampleRateS = 0, string languageIso639 = "")
Parameters
Type Name Description
uint index

The index

string codecType

"audio", "video", etc.

string codecName

The codec name

ulong bitrateBps

The bitrate bps

double durationS

The duration s

uint width

Video-specific fields (zero / empty for audio streams).

uint height

The height

double framesPerSecond

The frames per second

int rotation

The rotation

string displayAspectRatio

e.g. "16:9"

uint channels

Audio-specific fields (zero / empty for video streams).

string channelLayout

The channel layout

ulong sampleRateS

The sample rate s

string languageIso639

ISO 639 language code for the stream, when present.

Properties

View Source

BitrateBps

Gets the bitrate bps of the api media stream

Declaration
public ulong BitrateBps { get; protected set; }
Property Value
Type Description
ulong
View Source

ChannelLayout

Gets the channel layout of the api media stream

Declaration
public string ChannelLayout { get; protected set; }
Property Value
Type Description
string
View Source

Channels

Audio-specific fields (zero / empty for video streams).

Declaration
public uint Channels { get; protected set; }
Property Value
Type Description
uint
View Source

CodecName

Gets the codec name of the api media stream

Declaration
public string CodecName { get; protected set; }
Property Value
Type Description
string
View Source

CodecType

"audio", "video", etc.

Declaration
public string CodecType { get; protected set; }
Property Value
Type Description
string
View Source

DisplayAspectRatio

e.g. "16:9"

Declaration
public string DisplayAspectRatio { get; protected set; }
Property Value
Type Description
string
View Source

DurationS

Gets the duration s of the api media stream

Declaration
public double DurationS { get; protected set; }
Property Value
Type Description
double
View Source

FramesPerSecond

Gets the frames per second of the api media stream

Declaration
public double FramesPerSecond { get; protected set; }
Property Value
Type Description
double
View Source

Height

Gets the height of the api media stream

Declaration
public uint Height { get; protected set; }
Property Value
Type Description
uint
View Source

Index

Gets the index of the api media stream

Declaration
public uint Index { get; protected set; }
Property Value
Type Description
uint
View Source

LanguageIso639

ISO 639 language code for the stream, when present.

Declaration
public string LanguageIso639 { get; protected set; }
Property Value
Type Description
string
View Source

Rotation

Gets the rotation of the api media stream

Declaration
public int Rotation { get; protected set; }
Property Value
Type Description
int
View Source

SampleRateS

Gets the sample rate s of the api media stream

Declaration
public ulong SampleRateS { get; protected set; }
Property Value
Type Description
ulong
View Source

Width

Video-specific fields (zero / empty for audio streams).

Declaration
public uint Width { get; protected set; }
Property Value
Type Description
uint
  • View Source
In this article
Back to top Dropbox .NET SDK