Windows.Media.Core.MediaStreamSourceSampleRequest.ReportSampleProgress

May 17, 2019 ยท View on GitHub

-description

Provides a status update to the MediaStreamSource while the application is temporarily unable to deliver a requested MediaStreamSample.

-parameters

-param progress

A value between 0 to 100 that indicates the progress towards being able to deliver the requested MediaStreamSample.

-remarks

The application should invoke this method when it is unable to immediately to deliver the MediaStreamSample, which is accomplished by assigning it to the Sample property. The application should continue to invoke ReportSampleProgress on a regular basis until it is able to deliver the requested MediaStreamSample.

The recommended interval between each invocation of ReportSampleProgress is 500 milliseconds.

-examples

-see-also