channels.webrtc

package channels.webrtc

Members list

Type members

Classlikes

case class ConnectorOverview(localSession: Option[SessionDescription], remoteSession: Option[SessionDescription], iceGatheringState: RTCIceGatheringState, iceConnectionState: RTCIceConnectionState, signalingState: RTCSignalingState)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SessionDescription(descType: String, sdp: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
class WebRTCConnection(channel: RTCDataChannel) extends Connection[MessageBuffer]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class WebRTCConnectionFailed(message: String) extends Exception

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class WebRTCConnector(configuration: RTCConfiguration)

First listen to lifecycle and optionally iceCandidates. Then create a channel directly on peer connection, which will trigger the connection initiation process. Somehow transfer the local session description to a remote peer, and updateRemoteDescription there. Accepting a remote description will update the local description, which then needs to be transferred back to the original peer and smartUpdateLocalDescription there should complete the connection.

First listen to lifecycle and optionally iceCandidates. Then create a channel directly on peer connection, which will trigger the connection initiation process. Somehow transfer the local session description to a remote peer, and updateRemoteDescription there. Accepting a remote description will update the local description, which then needs to be transferred back to the original peer and smartUpdateLocalDescription there should complete the connection.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
class WebRTCReceiveFailed(message: String) extends Exception

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all