Listener

interface Listener

Functions

Link copied to clipboard
abstract fun getStats(handler: (RTCStatsReport?) -> Unit)
Link copied to clipboard
abstract fun onConnect(endpoint: String)
Link copied to clipboard
abstract fun onDisconnect(disconnectReason: SoraDisconnectReason?)
Link copied to clipboard
abstract fun onError(reason: SoraErrorReason)
Link copied to clipboard
abstract fun onInitialOffer(offerMessage: OfferMessage, endpoint: String)
Link copied to clipboard
abstract fun onNotificationMessage(notification: NotificationMessage)
Link copied to clipboard
abstract fun onPushMessage(push: PushMessage)
Link copied to clipboard
abstract fun onRedirect(location: String)
Link copied to clipboard
abstract fun onReOffer(sdp: String)
Link copied to clipboard
abstract fun onSwitched(switchedMessage: SwitchedMessage)
Link copied to clipboard
abstract fun onUpdatedOffer(sdp: String)

Sources

Link copied to clipboard