IRTCClient::TemporalSpatialTradeOff (Windows CE 5.0)
This method sets or gets the temporal-spatial tradeoff for a session. This tradeoff is used for all media streaming:
- A lower tradeoff value increases the video resolution and decreases the frame rate.
- A higher value increases the frame rate and decreases the video resolution.
HRESULT set_TemporalSpatialTradeOff(long lValue);HRESULT get_TemporalSpatialTradeOff(long* plValue);
Parameters
lValue, plValue
[in, out] Temporal-spatial tradeoff value.This value is a number between 0 and 255 (on a linear scale), with the default being 128.
A value of 0 represents the maximum video quality with the lowest frame rate.
A value of 255 represents the highest frame rate with the lowest quality video resolution.
Return Values
This method can return an RTC_E_ constant.
The following table shows an additional possible return value.
Value | Description |
---|---|
E_INVALIDARG | Value out of range. |
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