MediaStreamSample.KeyFrame Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates the MediaStreamSample contains a keyframe.
public:
property bool KeyFrame { bool get(); void set(bool value); };
bool KeyFrame();
void KeyFrame(bool value);
public bool KeyFrame { get; set; }
var boolean = mediaStreamSample.keyFrame;
mediaStreamSample.keyFrame = boolean;
Public Property KeyFrame As Boolean
Property Value
bool
true if the MediaStreamSample contains a frame that can be decoded independently from other frames; otherwise, false. The default value is false.
Remarks
This flag should be set to true when the MediaStreamSample contains an audio or video frame which can be independently decoded from other frames. Such frames are sometimes referred to as cleanpoints, I-frames, IDR-frames or key frames.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla