webrtc library

Classes

MediaRecorder
MediaStream
MediaStreamTrack
RTCDataChannel
A class that represents a WebRTC datachannel. Can send and receive text and binary messages.
RTCDataChannelInit
Initialization parameters for RTCDataChannel.
RTCDataChannelMessage
A class that represents a datachannel message. Can either contain binary data as a Uint8List or text data as a String.
RTCIceCandidate
RTCPeerConnection
RTCSessionDescription
RTCVideoRenderer
RTCVideoView
StatsReport
WebRTC

Functions

createPeerConnection(Map<String, dynamic> configuration, Map<String, dynamic> constraints) Future<RTCPeerConnection>
iceConnectionStateForString(String state) RTCIceConnectionState
iceGatheringStateforString(String state) RTCIceGatheringState
rtcDataChannelStateForString(String state) RTCDataChannelState
signalingStateForString(String state) RTCSignalingState

Enums

MessageType
RTCDataChannelMessage type
RecorderAudioChannel
RTCDataChannelState
RTCIceConnectionState
RTCIceGatheringState
RTCSignalingState
RTCVideoViewObjectFit

Typedefs

AddStreamCallback(MediaStream stream) → void
AddTrackCallback(MediaStream stream, MediaStreamTrack track) → void
IceCandidateCallback(RTCIceCandidate candidate) → void
IceConnectionStateCallback(RTCIceConnectionState state) → void
IceGatheringStateCallback(RTCIceGatheringState state) → void
RemoveStreamCallback(MediaStream stream) → void
RemoveTrackCallback(MediaStream stream, MediaStreamTrack track) → void
RTCDataChannelCallback(RTCDataChannel channel) → void
RTCDataChannelOnMessageCallback(RTCDataChannelMessage message) → void
RTCDataChannelStateCallback(RTCDataChannelState state) → void
SignalingStateCallback(RTCSignalingState state) → void