Skip to content

Commit

Permalink
For #1638, #307, fix rtc player demo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Mar 14, 2020
1 parent 60c8b37 commit 4b23d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/research/players/rtc_player.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
});
});
}).then(function(answer) {
pc.setRemoteDescription(new RTCSessionDescription({type: 'answer', sdp: answer}));
return pc.setRemoteDescription(new RTCSessionDescription({type: 'answer', sdp: answer}));
}).catch(function(reason) {
throw reason;
});
Expand Down

0 comments on commit 4b23d04

Please sign in to comment.