-
Notifications
You must be signed in to change notification settings - Fork 217
v2.0.5 #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2.0.5 #109
Conversation
Need: - check every OS and browsers - made ui/logic for FF
function _getStats(peer, cb) { | ||
if (!!navigator.mozGetUserMedia) { | ||
peer.getStats(peer.getLocalStreams()[0].getAudioTracks()[0], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А что будет если вдруг 0 и 0 элементы не будут доступны?
selector = self.delegate.callType == 1 ? self.getLocalStreams()[0].getVideoTracks()[0] : self.getLocalStreams()[0].getAudioTracks()[0], | ||
statsReportInterval = 0; | ||
|
||
if (config.webrtc && config.webrtc.statsReportTimeInterval && isNaN(+config.webrtc.statsReportTimeInterval)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А если statsReportTimeInterval не задан? return не сработает
лучше сделать так:
if (!config.webrtc || !config.webrtc.statsReportTimeInterval){
return;
}
if(isNaN(+config.webrtc.statsReportTimeInterval)) {
Helpers.traceError('statsReportTimeInterval (' + config.webrtc.statsReportTimeInterval + ') must be integer.');
return;
}
…-javascript-sdk into develop.v205 Conflicts: samples/webrtc/js/app.js
Fixed Firefox connection issues with video chat
QBWEBSDK-179
QBWEBSDK-238
upd strophejs to 1.2.4