RTCEngineConfig
RTC initialization configurationRTCEngineUserModel
User infoRTCEngineStreamTrackModel
Stream track infoRTCEngineChannelModel
Channel infoRTCEngineMediaConfig
Media streaming configurationRTCEngineNetworkQosParam
Network quality control parametersRTCEngineDebugParam
Debug mode parametersRTCSpeedTestParams
Speed test parametersRTCSpeedTestResult
Speed test resultRTCSpeedTestConnectResult
Speed test connection status resultRTCNetworkCheckParams
Pre-call network check parameters (since3.3.0), used by networkCheck:onItem:completion:. Pass either appId + serverUrl or token; if both are passed, appId + serverUrl take precedence.
RTCNetworkCheckItem
Result of a single pre-call network check item (since3.3.0)
The content of
data depends on the check item:
Each subcheck of
server is {ok, status, reason, rttMs}: ok indicates whether it’s reachable; status is "pass" / "fail" / "skipped"; reason is the reason code, an empty string for pass; rttMs is the time spent in milliseconds. In addition:
api: whether the check info API is reachable. On failure, it also carrieshttpStatus(the HTTP status code) when an HTTP response was received, andcode(the server-side business error code, e.g. the app doesn’t exist or is disabled) when HTTP is 200 but the business code isn’t 0signal: whether the signaling server can be connected (TCP/TLS first, then WebSocket if that fails). It also carriesvia: the method that connected,"tcp"or"ws", or an empty string if neither didmedia: whether the media server answers over UDP
toDictionary method converts the item result to a dictionary (keys id / status / reason / message / costMs / data, the same as on other platforms) for logging or reporting.
RTCNetworkCheckResult
Overall pre-call network check result (since3.3.0)
The
toDictionary method converts the result to a dictionary (keys status / items / costMs).
RTCNetworkCheckItemId
Pre-call network check item ID (since3.3.0; string constants with the same values as on other platforms)
RTCNetworkCheckStatus
Pre-call network check status (since3.3.0; string constants). Items and the overall result share the same values; the overall result is only ever ok / warning / fail.
RTCNetworkCheckReason
Pre-call network check reason codes (since3.3.0; string constants); an empty string when passed
RTCStreamAudioModel
User audio infoNote: To identify the speaking user, useuserIddirectly; don’t look up the user bylinkId. With Wangsu media streaming,linkIdis always0for every user, so a lookup by it is bound to hit the wrong person. Since3.1.2, the SDK resolvesuserIdfrom the underlying connection on this path.