1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #1638, #307, fix rtc player demo bug

This commit is contained in:
winlin 2020-03-14 23:22:25 +08:00
parent 60c8b37f05
commit 4b23d04635

View file

@ -115,7 +115,7 @@
}); });
}); });
}).then(function(answer) { }).then(function(answer) {
pc.setRemoteDescription(new RTCSessionDescription({type: 'answer', sdp: answer})); return pc.setRemoteDescription(new RTCSessionDescription({type: 'answer', sdp: answer}));
}).catch(function(reason) { }).catch(function(reason) {
throw reason; throw reason;
}); });