Skip to content

Commit 7c2abe0

Browse files
committed
Bugfix. Permit receiving a 200 OK to a INVITE before any 1XX provisional
- Set the RTCSession status to CONFIRMED before sending the ACK
1 parent e66507a commit 7c2abe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RTCSession.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,8 +851,8 @@ RTCSession.prototype.receiveResponse = function(response) {
851851
* SDP Answer fits with Offer. Media will start
852852
*/
853853
function() {
854-
session.sendACK();
855854
session.status = C.STATUS_CONFIRMED;
855+
session.sendACK();
856856
session.started('remote', response);
857857
},
858858
/*

0 commit comments

Comments
 (0)