EncodedVideoChunkInit Class
The description of an EncodedVideoChunk (https://w3c.github.io/webcodecs/#dictdef-encodedvideochunkinit).
public sealed class EncodedVideoChunkInitConstructors
| Name | Description |
|---|---|
| EncodedVideoChunkInit() |
EncodedVideoChunkInit()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public EncodedVideoChunkInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Data | Gets the encoded bytes: a buffer source of the scripts, a Byte array or a memory of bytes. |
| Duration | Gets the presentation duration in microseconds, or null. |
| Timestamp | Gets the presentation timestamp in microseconds. |
| Transfer | Gets the ArrayBuffer objects detached by the construction. |
| Type | Gets the type of the chunk. |
Data
EncodedChunks.csDuration
EncodedChunks.csGets the presentation duration in microseconds, or null.
public ulong? Duration { get; init; }Timestamp
EncodedChunks.csGets the presentation timestamp in microseconds.
public required long Timestamp { get; init; }Transfer
EncodedChunks.csGets the ArrayBuffer objects detached by the construction.
public IReadOnlyList<object>? Transfer { get; init; }Type
EncodedChunks.csGets the type of the chunk.
public required EncodedVideoChunkType Type { get; init; }