RtcSession

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun cleanup()
Link copied to clipboard
suspend fun connect(reconnectDetails: ERROR CLASS: Symbol not found for ReconnectDetails?? = null, options: List<ERROR CLASS: Symbol not found for PublishOption>? = null)

Public entry point kept for backward compatibility. Delegates to connectInternal and throws on failure.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Triggered whenever we receive new ice candidate from the SFU

Link copied to clipboard

This is called when the SFU sends us an offer

Link copied to clipboard
suspend fun reconnect(forceRestart: Boolean)
Link copied to clipboard
suspend fun requestPublisherIceRestart(): Result<ERROR CLASS: Symbol not found for ICERestartResponse>
Link copied to clipboard
suspend fun requestSubscriberIceRestart(): Result<ERROR CLASS: Symbol not found for ICERestartResponse>
Link copied to clipboard
Link copied to clipboard
fun updateTrackDimensions(sessionId: String, trackType: ERROR CLASS: Symbol not found for TrackType, visible: Boolean, dimensions: ERROR CLASS: Symbol not found for VideoDimension = Subscriber.defaultVideoDimension, viewportId: String = sessionId)