Skip to main content

SdkInitParams

Parameters of the SRTC constructor.

JoinOptions

Optional parameters of srtc.join(token, options?).

AdaptiveStreamOptions

Adaptive streaming configuration for remote video. The design goal is to pass only two key facts to the subscription layer—“is anyone watching right now, and how large is it being viewed”—and let the SDK automatically pick a more suitable simulcast layer.

ChannelInfo

Channel info, returned by srtc.join() and also available from srtc.getChannelInfo().

UserInfo

Info of users in the channel, including yourself and remote users.

TrackInfo

Track info, available from track.getInfo().

Audio capture, playback, and publishing


Video capture, playback, and publishing


Screen sharing


Local recording

Type definitions related to local recording (srtc.createLocalCompositeRecorder()) are below. For full usage, parameter tables, and scenarios, see Local recording in the advanced guides.

Event data types


IM types


EnvWebInfo

Browser environment detection result, returned by srtc.getEnvInfo(). In the source, this type extends Bowser’s browser parsing result; the core fields added by the Web SDK are listed here.

Logging and build info


MixedAudioMediaStreamTrack

The mixed audio track returned by the createMixedAudioMediaStreamTrack utility function. It extends the browser’s native MediaStreamTrack and can be passed directly to srtc.createLocalCustomAudioTrack(...).