MediaStreamSourceStartingRequest MediaStreamSourceStartingRequest MediaStreamSourceStartingRequest MediaStreamSourceStartingRequest MediaStreamSourceStartingRequest Class

Definition

Represents a request from the MediaStreamSource.Starting event for the application to start accumulating MediaStreamSample objects from a specific position in the media.

public : sealed class MediaStreamSourceStartingRequest
struct winrt::Windows::Media::Core::MediaStreamSourceStartingRequest
public sealed class MediaStreamSourceStartingRequest
Public NotInheritable Class MediaStreamSourceStartingRequest
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

See the MediaStreamSource Sample for an example of using Media Stream Source in a UWP app.

Properties

StartPosition StartPosition StartPosition StartPosition StartPosition

Specifies a reference to a TimeSpan object which represents a time position in the media time-line from which the application should return MediaStreamSample objects.

Methods

GetDeferral() GetDeferral() GetDeferral() GetDeferral() GetDeferral()

Defers completing the MediaStreamSource.Starting event.

SetActualStartPosition(TimeSpan) SetActualStartPosition(TimeSpan) SetActualStartPosition(TimeSpan) SetActualStartPosition(TimeSpan) SetActualStartPosition(TimeSpan)

Specifies the starting position in the media time-line for subsequent MediaStreamSamples that will be delivered to the MediaStreamSource.

See also