MediaEncodedVideo Class

A chunk produced by a MediaVideoEncoder.

public sealed class MediaEncodedVideo : IEquatable<MediaEncodedVideo>
Implements

Constructors

NameDescription
MediaEncodedVideo(EncodedVideoChunk, VideoDecoderConfig?, uint?)A chunk produced by a MediaVideoEncoder.

MediaEncodedVideo(EncodedVideoChunk, VideoDecoderConfig?, uint?)

MediaCodecBackend.cs

A chunk produced by a MediaVideoEncoder.

public MediaEncodedVideo(EncodedVideoChunk Chunk, VideoDecoderConfig? DecoderConfig = null, uint? TemporalLayerId = null)

Parameters

Chunk EncodedVideoChunk
The chunk.
DecoderConfig VideoDecoderConfig?
The configuration of a decoder of the chunk (the codec string, the coded size, the description...), or null when it did not change. The library gives it to the output callback with the first chunk after configure() and when it changes, with the display aspect ratio, the color space and the orientation of the frames.
TemporalLayerId uint?
The temporal layer of the chunk when the configuration has a scalability mode, or null.

Properties

NameDescription
ChunkThe chunk.
DecoderConfigThe configuration of a decoder of the chunk (the codec string, the coded size, the description...), or null when it did not change. The library gives it to the output callback with the first chunk after configure() and when it changes, with the display aspect ratio, the color space and the orientation of the frames.
TemporalLayerIdThe temporal layer of the chunk when the configuration has a scalability mode, or null.

The chunk.

public EncodedVideoChunk Chunk { get; init; }

Property value

EncodedVideoChunk

The configuration of a decoder of the chunk (the codec string, the coded size, the description...), or null when it did not change. The library gives it to the output callback with the first chunk after configure() and when it changes, with the display aspect ratio, the color space and the orientation of the frames.

public VideoDecoderConfig? DecoderConfig { get; init; }

Property value

VideoDecoderConfig?

TemporalLayerId

MediaCodecBackend.cs

The temporal layer of the chunk when the configuration has a scalability mode, or null.

public uint? TemporalLayerId { get; init; }

Property value

uint?

Methods

NameDescription
Deconstruct(EncodedVideoChunk, VideoDecoderConfig?, uint?)
Equals(MediaEncodedVideo?)
Equals(object?)
GetHashCode()
ToString()

Deconstruct(EncodedVideoChunk, VideoDecoderConfig?, uint?)

public void Deconstruct(out EncodedVideoChunk Chunk, out VideoDecoderConfig? DecoderConfig, out uint? TemporalLayerId)

Parameters

Chunk EncodedVideoChunk
DecoderConfig VideoDecoderConfig?
TemporalLayerId uint?

No documentation is available.

Equals overloads

Equals(MediaEncodedVideo?)

public bool Equals(MediaEncodedVideo? other)
Parameters
other MediaEncodedVideo?
Returns

bool

No documentation is available.

Equals(object?)

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(MediaEncodedVideo?, MediaEncodedVideo?)
operator !=(MediaEncodedVideo?, MediaEncodedVideo?)

operator ==(MediaEncodedVideo?, MediaEncodedVideo?)

public static bool operator ==(MediaEncodedVideo? left, MediaEncodedVideo? right)

Parameters

left MediaEncodedVideo?
right MediaEncodedVideo?

Returns

bool

No documentation is available.

operator !=(MediaEncodedVideo?, MediaEncodedVideo?)

public static bool operator !=(MediaEncodedVideo? left, MediaEncodedVideo? right)

Parameters

left MediaEncodedVideo?
right MediaEncodedVideo?

Returns

bool

No documentation is available.