setRemoteDescription method

Future<void> setRemoteDescription([
  1. RTCSessionDescriptionInit? description,
  2. VoidFunction? successCallback,
  3. RTCPeerConnectionErrorCallback? failureCallback
])

Implementation

Future<void> setRemoteDescription(
        [RTCSessionDescriptionInit? description,
        VoidFunction? successCallback,
        RTCPeerConnectionErrorCallback? failureCallback]) =>
    js_util.promiseToFuture(js_util.callMethod(this, 'setRemoteDescription', [
      description,
      successCallback == null ? null : allowInterop(successCallback),
      failureCallback == null ? null : allowInterop(failureCallback)
    ]));