SmoothStreamingMediaElement.SetBitrateRange Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Sets the range of allowable bitrates for download of mediaStreamType.
Namespace: Microsoft.Web.Media.SmoothStreaming
Assembly: Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)
Syntax
'Declaration
Public Sub SetBitrateRange ( _
mediaStreamType As MediaStreamType, _
minimumBitrate As ULong, _
maximumBitrate As ULong _
)
'Usage
Dim instance As SmoothStreamingMediaElement
Dim mediaStreamType As MediaStreamType
Dim minimumBitrate As ULong
Dim maximumBitrate As ULong
instance.SetBitrateRange(mediaStreamType, _
minimumBitrate, maximumBitrate)
public void SetBitrateRange(
MediaStreamType mediaStreamType,
ulong minimumBitrate,
ulong maximumBitrate
)
public:
void SetBitrateRange(
MediaStreamType mediaStreamType,
unsigned long long minimumBitrate,
unsigned long long maximumBitrate
)
public function SetBitrateRange(
mediaStreamType : MediaStreamType,
minimumBitrate : ulong,
maximumBitrate : ulong
)
Parameters
- mediaStreamType
Type: MediaStreamType
A MediaStreamType object.
- minimumBitrate
Type: System.UInt64
A UInt64 integer that specifies the minimum bit rate in bits per second.
- maximumBitrate
Type: System.UInt64
A UInt64 integer that specifies the maximum bit rate in bits per second.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.90).
See Also
Reference
SmoothStreamingMediaElement Class