IRTCClient::MaxBitrate
Other versions of this page are also available for the following:
8/28/2008
This method sets or gets the maximum bit rate (bps) for a session. This rate is used for all media streaming.
Syntax
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 Value
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
Header | rtccore.h, rtccore.idl |
Library | uuid.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |