Share via


IRTCClient::put_TemporalSpatialTradeOff

The put_TemporalSpatialTradeOff property sets the temporal-spatial tradeoff for all media streaming. Lowering the tradeoff value will increase the video resolution and decrease the frame rate. Raising the tradeoff value will increase the frame rate and decrease the video resolution. This method sets the temporal-spatial tradeoff retrieved in IRTCClient::get_TemporalSpatialTradeOff.

HRESULT put_TemporalSpatialTradeOff(longlValue);

Parameters

  • lValue
    [in] Tradeoff value (0-255). The default value is 128. A value of 0 represents the maximum video quality with the lowest frame rate. A tradeoff value of 255 represents the highest frame rate with the lowest-quality video resolution.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_INVALIDARG Value out of range.
RTC_E_CLIENT_NOT_INITIALIZED The client has not been initialized.

Requirements

Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClient is defined as 07829e45-9a34-408e-a011-bddf13487cd1.

See Also

IRTCClient, IRTCClient::get_TemporalSpatialTradeOff