MediaEncodedVideo Class
A chunk produced by a MediaVideoEncoder.
public sealed class MediaEncodedVideo : IEquatable<MediaEncodedVideo>- Implements
Constructors
| Name | Description |
|---|---|
| MediaEncodedVideo(EncodedVideoChunk, VideoDecoderConfig?, uint?) | A chunk produced by a MediaVideoEncoder. |
MediaEncodedVideo(EncodedVideoChunk, VideoDecoderConfig?, uint?)
MediaCodecBackend.csA chunk produced by a MediaVideoEncoder.
public MediaEncodedVideo(EncodedVideoChunk Chunk, VideoDecoderConfig? DecoderConfig = null, uint? TemporalLayerId = null)Parameters
ChunkEncodedVideoChunk- The chunk.
DecoderConfigVideoDecoderConfig?- 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. TemporalLayerIduint?- The temporal layer of the chunk when the configuration has a scalability mode, or null.
Properties
| Name | Description |
|---|---|
| Chunk | The chunk. |
| DecoderConfig | 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 | The temporal layer of the chunk when the configuration has a scalability mode, or null. |
Chunk
MediaCodecBackend.csDecoderConfig
MediaCodecBackend.csThe 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
TemporalLayerId
MediaCodecBackend.csMethods
| Name | Description |
|---|---|
| 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
ChunkEncodedVideoChunkDecoderConfigVideoDecoderConfig?TemporalLayerIduint?
No documentation is available.
Equals overloads
Equals(MediaEncodedVideo?)
public bool Equals(MediaEncodedVideo? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(MediaEncodedVideo?, MediaEncodedVideo?) | |
| operator !=(MediaEncodedVideo?, MediaEncodedVideo?) |
operator ==(MediaEncodedVideo?, MediaEncodedVideo?)
public static bool operator ==(MediaEncodedVideo? left, MediaEncodedVideo? right)No documentation is available.
operator !=(MediaEncodedVideo?, MediaEncodedVideo?)
public static bool operator !=(MediaEncodedVideo? left, MediaEncodedVideo? right)No documentation is available.