BasicPeerConnection class abstract

Basic peer connection interface

This interface defines the minimum requirements for a WebRTC peer connection to work with Ring cameras. Implementations would need to use a platform-specific WebRTC library.

Implementers

Constructors

BasicPeerConnection()

Properties

hashCode int
The hash code for this object.
no setterinherited
onConnectionState Stream<ConnectionState>
Stream of connection state changes
no setter
onIceCandidate Stream<RTCIceCandidate>
Stream of ICE candidates
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptAnswer(SessionDescription answer) Future<void>
Accept an SDP answer
addIceCandidate(RTCIceCandidate candidate) Future<void>
Add an ICE candidate
close() → void
Close the connection
createOffer() Future<SessionDescription>
Create an SDP offer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestKeyFrame() → void
Request a key frame (optional)
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited