SegmentInfo.RestrictStreams Method
Restricts decoder initialization to the specified list of available streams.
Namespace: Microsoft.Web.Media.SmoothStreaming
Assembly: Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)
Syntax
'Declaration
Public Sub RestrictStreams ( _
availableStreams As IList(Of StreamInfo) _
)
'Usage
Dim instance As SegmentInfo
Dim availableStreams As IList(Of StreamInfo)
instance.RestrictStreams(availableStreams)
public void RestrictStreams(
IList<StreamInfo> availableStreams
)
public:
void RestrictStreams(
IList<StreamInfo^>^ availableStreams
)
member RestrictStreams :
availableStreams:IList<StreamInfo> -> unit
public function RestrictStreams(
availableStreams : IList<StreamInfo>
)
Parameters
- availableStreams
Type: System.Collections.Generic.IList<StreamInfo>
A list of streams to initialize. The list must be a subset of the current available streams. The list must contain at least one stream.
Remarks
The RestrictStreams method can be called only for child streams in a ManifestReady event handler, and must be called before the RestrictTracks method.
The RestrictStreams method can be called only once per SegmentInfo instance.
Version Information
Silverlight
Supported in: 5