MediaSubsample Struct
A subsample of an encrypted sample: a range of clear bytes followed by a range of protected bytes.
public readonly struct MediaSubsample : IEquatable<MediaSubsample>- Implements
Constructors
| Name | Description |
|---|---|
| MediaSubsample(int, int) | A subsample of an encrypted sample: a range of clear bytes followed by a range of protected bytes. |
MediaSubsample(int, int)
A subsample of an encrypted sample: a range of clear bytes followed by a range of protected bytes.
Properties
| Name | Description |
|---|---|
| ClearBytes | The number of bytes that are not encrypted (e.g. the header of a NAL unit). |
| ProtectedBytes | The number of bytes that follow the clear bytes and are encrypted. |
ClearBytes
MediaSampleEncryption.csProtectedBytes
MediaSampleEncryption.csMethods
| Name | Description |
|---|---|
| Deconstruct(int, int) | |
| Equals(MediaSubsample) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Deconstruct(int, int)
Equals overloads
Equals(MediaSubsample)
public bool Equals(MediaSubsample other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(MediaSubsample, MediaSubsample) | |
| operator !=(MediaSubsample, MediaSubsample) |
operator ==(MediaSubsample, MediaSubsample)
public static bool operator ==(MediaSubsample left, MediaSubsample right)No documentation is available.
operator !=(MediaSubsample, MediaSubsample)
public static bool operator !=(MediaSubsample left, MediaSubsample right)No documentation is available.