Skip to main content

RTCEngineConfig

RTC initialization configuration

RTCEngineUserModel

User info

RTCEngineStreamTrackModel

Stream track info

RTCEngineChannelModel

Channel info

RTCEngineMediaConfig

Media streaming configuration

RTCEngineNetworkQosParam

Network quality control parameters

RTCEngineDebugParam

Debug mode parameters

RTCSpeedTestParams

Speed test parameters

RTCSpeedTestResult

Speed test result

RTCSpeedTestConnectResult

Speed test connection status result

RTCNetworkCheckParams

Pre-call network check parameters (since 3.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 (since 3.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 carries httpStatus (the HTTP status code) when an HTTP response was received, and code (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 0
  • signal: whether the signaling server can be connected (TCP/TLS first, then WebSocket if that fails). It also carries via: the method that connected, "tcp" or "ws", or an empty string if neither did
  • media: whether the media server answers over UDP
The 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 (since 3.3.0) The toDictionary method converts the result to a dictionary (keys status / items / costMs).

RTCNetworkCheckItemId

Pre-call network check item ID (since 3.3.0; string constants with the same values as on other platforms)

RTCNetworkCheckStatus

Pre-call network check status (since 3.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 (since 3.3.0; string constants); an empty string when passed

RTCStreamAudioModel

User audio info
Note: To identify the speaking user, use userId directly; don’t look up the user by linkId. With Wangsu media streaming, linkId is always 0 for every user, so a lookup by it is bound to hit the wrong person. Since 3.1.2, the SDK resolves userId from the underlying connection on this path.

RTCStreamSendModel

Media streaming send status

RTCStreamReceiveModel

Media streaming receive status

RTCStreamQualitySampleModel

Media streaming quality sample data. Only with the SeaStart engine

RTCEngineLogLevel

Log level

SRTCDeviceType

Device type

RTCUserRole

User role

RTCMediaType

Media type

RTCStreamType

Media stream type

RTCCodecType

Codec type

RTCChangeType

Change operation type

RTCLeaveReason

Reason for leaving the channel

RTCImDisconnectReason

Disconnect reason for IM (out-of-channel messaging)

RTCTrackIdentifierFlags

Stream track identifier

RTCNetworkState

Network condition

RTCScreenRecordStatus

Screen sharing status

RTCAudioRoute

Audio route type

RTCEngineCameraDirection

Camera direction

RTCNetworkQosShakeLevel

Anti-jitter level for network latency

RTCUploadBitrateAdaptiveState

Uplink adaptive bitrate state

RTCDownBitrateAdaptiveState

Downlink adaptive bitrate state

RTCDownLossLevelState

Downlink average packet loss level

RTCStreamTrackKind

Stream track kind

RTCStreamQualityLevel

Media streaming quality level