setLocalDescription method
Future<void>
setLocalDescription([
- RTCLocalSessionDescriptionInit? description,
- VoidFunction? successCallback,
- RTCPeerConnectionErrorCallback? failureCallback
Implementation
Future<void> setLocalDescription(
[RTCLocalSessionDescriptionInit? description,
VoidFunction? successCallback,
RTCPeerConnectionErrorCallback? failureCallback]) =>
js_util.promiseToFuture(js_util.callMethod(this, 'setLocalDescription', [
description,
successCallback == null ? null : allowInterop(successCallback),
failureCallback == null ? null : allowInterop(failureCallback)
]));