AppBroadcastStreamReader.TryGetNextVideoFrame メソッド

定義

ブロードキャスト ストリームから最新のビデオ フレームを表す AppBroadcastStreamVideoFrame オブジェクトを取得しようとします。

public:
 virtual AppBroadcastStreamVideoFrame ^ TryGetNextVideoFrame() = TryGetNextVideoFrame;
AppBroadcastStreamVideoFrame TryGetNextVideoFrame();
public AppBroadcastStreamVideoFrame TryGetNextVideoFrame();
function tryGetNextVideoFrame()
Public Function TryGetNextVideoFrame () As AppBroadcastStreamVideoFrame

戻り値

成功した場合は、ブロードキャスト ストリームからの最新のビデオ フレーム。それ以外の場合は null。

Windows の要件

アプリの機能
appBroadcast appBroadcastSettings

注釈

フレーム データの不要なコピーを回避するために、このメソッドは循環バッファーに格納されているフレーム データへの参照を返します。 フレームを取得したら、フレーム データのコピーを作成し、バッファーをできるだけ早く解放する必要があります。

適用対象