PeerChannel

interface PeerChannel

Types

Link copied to clipboard
interface Listener

Functions

Link copied to clipboard
abstract fun connectionState(): PeerConnection.PeerConnectionState?
Link copied to clipboard
abstract fun disconnect(disconnectReason: SoraDisconnectReason?)
Link copied to clipboard
abstract fun getStats(handler: (RTCStatsReport?) -> Unit)
abstract fun getStats(statsCollectorCallback: RTCStatsCollectorCallback)
Link copied to clipboard
abstract fun handleInitialRemoteOffer(offer: String, mid: Map<String, String>?, encodings: List<Encoding>?): Single<SessionDescription>
Link copied to clipboard
abstract fun handleUpdatedRemoteOffer(offer: String): Single<SessionDescription>
Link copied to clipboard
abstract fun requestClientOfferSdp(): Single<Result<SessionDescription>>
Link copied to clipboard
abstract fun sendDisconnect(dataChannel: DataChannel, disconnectReason: SoraDisconnectReason)
Link copied to clipboard
abstract fun sendReAnswer(dataChannel: DataChannel, description: String)
Link copied to clipboard
abstract fun sendStats(dataChannel: DataChannel, report: RTCStatsReport)
Link copied to clipboard
abstract fun unzipBufferIfNeeded(label: String, buffer: ByteBuffer): ByteBuffer
Link copied to clipboard
abstract fun zipBufferIfNeeded(label: String, buffer: ByteBuffer): ByteBuffer

Inheritors

Link copied to clipboard

Sources

Link copied to clipboard