Peer class

Constructors

Peer(TxSocket _socket)

Properties

hashCode int
The hash code for this object.
no setterinherited
onAddRemoteStream ↔ (dynamic Function(Session session, MediaStream stream)?)
getter/setter pair
onCallStateChange ↔ (dynamic Function(Session session, CallState state)?)
getter/setter pair
onDataChannel ↔ (dynamic Function(Session session, RTCDataChannel dc)?)
getter/setter pair
onDataChannelMessage ↔ (dynamic Function(Session session, RTCDataChannel dc, RTCDataChannelMessage data)?)
getter/setter pair
onLocalStream ↔ (dynamic Function(MediaStream stream)?)
getter/setter pair
onPeersUpdate ↔ (dynamic Function(dynamic event)?)
getter/setter pair
onRemoveRemoteStream ↔ (dynamic Function(Session session, MediaStream stream)?)
getter/setter pair
onSignalingStateChange ↔ (dynamic Function(SignalingState state)?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdpSemantics String
no setter

Methods

accept(String callerName, String callerNumber, String destinationNumber, String clientState, String callId, IncomingInviteParams invite, Map<String, String> customHeaders) → void
close() → dynamic
closeSession(String sessionId) → void
createStream(String media) Future<MediaStream>
enableSpeakerPhone(bool enable) → void
invite(String callerName, String callerNumber, String destinationNumber, String clientState, String callId, String telnyxSessionId, Map<String, String> customHeaders) → void
muteUnmuteMic() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remoteSessionReceived(String sdp) → void
toString() String
A string representation of this object.
inherited

Operators

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