setLocalDescription method
Implementation
@override
Future<void> setLocalDescription(RTCSessionDescription description) async {
try {
await WebRTC.invokeMethod('setLocalDescription', <String, dynamic>{
'peerConnectionId': _peerConnectionId,
'description': description.toMap(),
});
} on PlatformException catch (e) {
throw 'Unable to RTCPeerConnection::setLocalDescription: ${e.message}';
}
}