WebRtcAdapter class abstract
WebRTC adapter contract
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createDataChannel(
{required PeerConnection peerConnection, required String label, DataChannelInit? options}) → Future< DataChannel> - Create a data channel
-
createPeerConnection(
{required IceConfiguration iceConfiguration}) → Future< PeerConnection> - Create a peer connection
-
dispose(
) → Future< void> - Dispose adapter
-
enumerateDevices(
) → Future< List< MediaDeviceInfo> > - Get available media devices
-
getDisplayMedia(
MediaConstraints constraints) → Future< MediaStream> - Get display media (screen sharing)
-
getUserMedia(
MediaConstraints constraints) → Future< MediaStream> - Get user media (camera/microphone)
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAudioOutput(
String deviceId) → Future< void> - Set audio output device (Web/Desktop specific)
-
setSpeakerphoneOn(
bool enable) → Future< void> - Set speakerphone on/off (Mobile specific)
-
switchCamera(
MediaStream stream) → Future< void> - Switch camera
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited