Package-level declarations

Types

Link copied to clipboard
data class AnswerMessage(val type: String = "answer", val sdp: String)
Link copied to clipboard
data class AudioSetting(val codecType: String?, var bitRate: Int? = null, var opusParams: OpusParams? = null)
Link copied to clipboard
data class CandidateMessage(val type: String = "candidate", val candidate: String)
Link copied to clipboard
data class ConnectMessage(val type: String = "connect", var role: String, val channelId: String, val clientId: String? = null, val bundleId: String? = null, val metadata: Any? = null, val signalingNotifyMetadata: Any? = null, val multistream: Boolean = false, var spotlight: Any? = null, var spotlightNumber: Int? = null, var spotlightFocusRid: String? = null, var spotlightUnfocusRid: String? = null, var simulcast: Boolean? = false, var simulcastRid: String? = null, var video: Any? = null, var audio: Any? = null, val soraClient: String = SDKInfo.sdkInfo(), val libwebrtc: String = SDKInfo.libwebrtcInfo(), val environment: String = SDKInfo.deviceInfo(), val sdp: String? = null, val dataChannelSignaling: Boolean? = null, val ignoreDisconnectWebsocket: Boolean? = null, val dataChannels: List<Map<String, Any>>? = null, val audioStreamingLanguageCode: String? = null, var redirect: Boolean? = null, val forwardingFilter: Any? = null)
Link copied to clipboard
data class DisconnectMessage(val type: String = "disconnect", val reason: String? = null)
Link copied to clipboard
data class Encoding(val rid: String?, val active: Boolean?, val maxBitrate: Int?, val maxFramerate: Double?, val scaleResolutionDownBy: Double?, val scalabilityMode: String?)
Link copied to clipboard
data class IceServer(val urls: List<String>, val credential: String, val username: String)
Link copied to clipboard
data class MessageCommonPart(val type: String?)
Link copied to clipboard
Link copied to clipboard
data class NotificationMessage(val type: String = "notify", val eventType: String, val role: String?, val sessionId: String?, val clientId: String?, val bundleId: String?, val connectionId: String?, val audio: Boolean?, val video: Boolean?, val metadata: Any?, val connectionTime: Long?, val numberOfConnections: Int?, val numberOfSendrecvConnections: Int?, val numberOfSendonlyConnections: Int?, val numberOfRecvonlyConnections: Int?, val unstableLevel: Int?, val spotlightId: String?, val fixed: Boolean?, val authnMetadata: Any?, val authzMetadata: Any?, val data: Any?, val turnTransportType: String?, val kind: String?, val destinationConnectionId: String?, val sourceConnectionId: String?, val recvConnectionId: String?, val sendConnectionId: String?, val streamId: String?)
Link copied to clipboard
data class OfferConfig(val iceServers: List<IceServer>, val iceTransportPolicy: String)
Link copied to clipboard
data class OfferMessage(val type: String = "offer", val sdp: String, val clientId: String, val bundleId: String? = null, val connectionId: String, val simulcast: Boolean = false, val metadata: Any?, val config: OfferConfig? = null, val mid: Map<String, String>? = null, val encodings: List<Encoding>?, val dataChannels: List<Map<String, Any>>? = null)
Link copied to clipboard
data class OpusParams(var channels: Int? = null, var clockRate: Int? = null, var maxplaybackrate: Int? = null, var stereo: Boolean? = null, var spropStereo: Boolean? = null, var minptime: Int? = null, var useinbandfec: Boolean? = null, var usedtx: Boolean? = null)
Link copied to clipboard
data class PingMessage(val type: String = "ping", val stats: Boolean?)
Link copied to clipboard
data class PongMessage(val type: String = "pong", val stats: List<SoraRTCStats>? = null)
Link copied to clipboard
data class PushMessage(val type: String = "push", var data: Any? = null)
Link copied to clipboard
data class ReAnswerMessage(val type: String = "re-answer", val sdp: String)
Link copied to clipboard
data class RedirectMessage(val type: String = "redirect", val location: String)
Link copied to clipboard
data class ReOfferMessage(val type: String = "re-offer", val sdp: String)
Link copied to clipboard
data class ReqStatsMessage(val type: String = "req-stats")
Link copied to clipboard
class SoraRTCStats(map: Map<String, Any>) : Map<String, Any>
Link copied to clipboard
data class StatsMessage(val type: String = "stats", val reports: List<SoraRTCStats>)
Link copied to clipboard
data class SwitchedMessage(val type: String = "switched", val ignoreDisconnectWebsocket: Boolean? = null)
Link copied to clipboard
data class UpdateMessage(val type: String = "update", val sdp: String)
Link copied to clipboard
data class VideoSetting(val codecType: String, var bitRate: Int? = null, var vp9Params: Any? = null, var av1Params: Any? = null, var h264Params: Any? = null)