Share via


IManifestStream.RestrictTracks Method

Applies to: Windows Store apps only

Restricts the tracks to a subset of all the available tracks.

Syntax

void RestrictTracks(
IVectorView<IManifestTrack> pTracks
)
void RestrictTracks(
[InAttribute] IVectorView<IManifestTrack^>^ pTracks
)
function RestrictTracks(
pTracks : IVectorView<IManifestTrack>
)

Parameters

  • pTracks
    [in] The list of tracks to keep available in the stream. Tracks not in the list will be removed.

Return Value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Not Supported

Metadata

Microsoft.Media.AdaptiveStreaming.winmd