Device class
Methods
-
canProduce(RTCRtpMediaType kind)
→ bool
-
Whether we can produce audio/video.
-
createRecvTransport({required String id, required IceParameters iceParameters, required List<IceCandidate> iceCandidates, required DtlsParameters dtlsParameters, SctpParameters? sctpParameters, List<RTCIceServer> iceServers = const <RTCIceServer>[], RTCIceTransportPolicy? iceTransportPolicy, Map<String, dynamic> additionalSettings = const <String, dynamic>{}, Map<String, dynamic> proprietaryConstraints = const <String, dynamic>{}, Map<String, dynamic> appData = const <String, dynamic>{}, Function? consumerCallback, Function? dataConsumerCallback})
→ Transport
-
Creates a Transport for receiving media.
-
createRecvTransportFromMap(Map data, {Function? consumerCallback, Function? dataConsumerCallback})
→ Transport
-
-
createSendTransport({required String id, required IceParameters iceParameters, required List<IceCandidate> iceCandidates, required DtlsParameters dtlsParameters, SctpParameters? sctpParameters, List<RTCIceServer> iceServers = const <RTCIceServer>[], RTCIceTransportPolicy? iceTransportPolicy, Map<String, dynamic> additionalSettings = const <String, dynamic>{}, Map<String, dynamic> proprietaryConstraints = const <String, dynamic>{}, Map<String, dynamic> appData = const <String, dynamic>{}, Function? producerCallback, Function? dataProducerCallback})
→ Transport
-
Creates a Transport for sending media.
-
createSendTransportFromMap(Map data, {Function? producerCallback, Function? dataProducerCallback})
→ Transport
-
-
load({required RtpCapabilities routerRtpCapabilities})
→ Future<void>
-
Initialize the Device.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited