共用方式為


MediaStreamSourceSampleRenderedEventArgs 類別

定義

提供 MediaStreamSource.SampleRendered 事件的資料,此事件會在 轉譯 MediaStreamSource 的樣本時發生。 使用 SampleLag 屬性來判斷樣本的轉譯是否有延遲,在此情況下,您可能會決定切換至較低的頻寬資料流程。

public ref class MediaStreamSourceSampleRenderedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaStreamSourceSampleRenderedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaStreamSourceSampleRenderedEventArgs
Public NotInheritable Class MediaStreamSourceSampleRenderedEventArgs
繼承
Object Platform::Object IInspectable MediaStreamSourceSampleRenderedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

處理 MediaStreamSource.SampleRendered 事件,以取得這個類別的實例。

屬性

SampleLag

取得時間範圍,表示呈現樣本的延遲。

適用於