IRTCClient::MaxBitrate (Windows CE 5.0)
This method sets or gets the maximum bit rate (bps) for a session. This rate is used for all media streaming.
HRESULT set_MaxBitrate(long lMaxBitrate);HRESULT get_MaxBitrate(long* plMaxBitrate);
Parameters
lMaxBitrate, plMaxBitrate
[in, out] Maximum bit rate used for all media streaming.Possible values are 0 to 1,000,000.
Return Values
This method can return an RTC_E_ constant.
The following table shows additional possible return values.
Value | Description |
---|---|
E_INVALIDARG | Bit rate out of range. |
S_FALSE | Bit rate is greater than the maximum allowed bit range, which is specified by the port range policy registry key HKLM\Software\Policies\Microsoft\Windows\RTC\MaxAudioVideoBitrate. |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
Send Feedback on this topic to the authors