Skip to content

Commit 57ad361

Browse files
authored
fixed error handling in _receiveInviteResponse (#344)
1 parent 3114b8d commit 57ad361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/rtc_session.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2354,7 +2354,7 @@ class RTCSession extends EventManager implements Owner {
23542354
RTCSessionDescription(response.body, 'answer');
23552355

23562356
try {
2357-
_connection!.setRemoteDescription(answer);
2357+
await _connection!.setRemoteDescription(answer);
23582358
} catch (error) {
23592359
logger.e(
23602360
'emit "peerconnection:setremotedescriptionfailed" [error:${error.toString()}]');

0 commit comments

Comments
 (0)