Skip to content

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

Merged
merged 17 commits into from
Feb 18, 2016
Merged

v2.0.5 #109

merged 17 commits into from
Feb 18, 2016

Conversation

dimaspirit
Copy link
Contributor

QBWEBSDK-179
QBWEBSDK-238
upd strophejs to 1.2.4

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],
Copy link
Contributor

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)) {
Copy link
Contributor

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;
}

soulfly pushed a commit that referenced this pull request Feb 18, 2016
Fixed Firefox connection issues with video chat
@soulfly soulfly merged commit 8a320c2 into develop Feb 18, 2016
@soulfly soulfly deleted the develop.v205 branch February 18, 2016 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants