dart_webrtc library Null safety

Classes

AudioOutputOptions
An object that configures what device(s) may be offered in the user prompt.
MediaDeviceInfo
This describe the media input and output devices, such as microphones, cameras, headsets, and so forth.
MediaDevices
MediaRecorder
MediaStream
https://w3c.github.io/mediacapture-main/#mediastream
MediaStreamConstraints
MediaStreamTrack
MediaStreamWeb
MediaTrackSupportedConstraints
MediaTrackSupportedConstraints represents the list of constraints controlling the capabilities of a MediaStreamTrack.
RTCDataChannel
RTCDataChannelInit
RTCDataChannelMessage
A class that represents a datachannel message. Can either contain binary data as a Uint8List or text data as a String.
RTCDTMFSender
RTCFactory
RTCFactoryWeb
RTCHeaderExtension
RTCIceCandidate
RTCPeerConnection
RTCRTCPParameters
RTCRTPCodec
RTCRtpEncoding
RTCRtpParameters
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCRtpTransceiverInit
RTCSessionDescription
RTCTrackEvent
RTCVideoElement
RTCVideoValue
StatsReport
VideoRenderer

Properties

read-only
typeRTCRtpMediaTypetoString Map<RTCRtpMediaType, String>
final
typeRtpTransceiverDirectionToString Map<TransceiverDirection, String>
final
typeStringToRTCRtpMediaType Map<String, RTCRtpMediaType>
final
typeStringToRtpTransceiverDirection Map<String, TransceiverDirection>
final

Functions

createLocalMediaStream(String label) Future<MediaStream>
createPeerConnection(Map<String, dynamic> configuration, [Map<String, dynamic>? constraints]) Future<RTCPeerConnection>
iceConnectionStateForString(String? state) RTCIceConnectionState
iceGatheringStateforString(String? state) RTCIceGatheringState
listToRtpEncodings(List<Map<String, dynamic>> list) List<RTCRtpEncoding>
mediaRecorder() MediaRecorder
peerConnectionStateForString(String? state) RTCPeerConnectionState
rtcDataChannelStateForString(String state) RTCDataChannelState
signalingStateForString(String? state) RTCSignalingState
videoRenderer() VideoRenderer

Enums

MessageType
RTCDataChannelMessage type
RecorderAudioChannel
RTCDataChannelState
RTCIceConnectionState
RTCIceGatheringState
RTCPeerConnectionState
RTCRtpMediaType
RTCSignalingState
RTCVideoViewObjectFit
TransceiverDirection

Typedefs

StreamTrackCallback = dynamic Function()