webrtc-troubleshoot
Advanced tools
Comparing version 0.3.0 to 0.4.0
{ | ||
"name": "webrtc-troubleshoot", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "A way to add webrtc troubleshooting to your app", | ||
@@ -18,9 +18,9 @@ "main": "index.js", | ||
"babelify": "^7.2.0", | ||
"browserify": "^13.0.1", | ||
"localmedia": "https://github.com/xdumaine/localmedia.git", | ||
"rtcpeerconnection": "https://github.com/otalk/RTCPeerConnection.git" | ||
"browserify": "^13.0.1" | ||
}, | ||
"dependencies": { | ||
"localmedia": "https://github.com/xdumaine/localmedia.git", | ||
"rtcpeerconnection": "5.2.0", | ||
"webrtc-adapter": "^1.4.0" | ||
} | ||
} |
import TestSuite from './utils/TestSuite'; | ||
import { AudioTest, VideoTest, ConnectivityTest, AdvancedCameraTest, ThroughputTest, VideoBandwidthTest } from './defaultTests'; | ||
import { | ||
AudioTest, | ||
VideoTest, | ||
ConnectivityTest, | ||
AdvancedCameraTest, | ||
ThroughputTest, | ||
VideoBandwidthTest | ||
} from './defaultTests'; | ||
import VideoFrameChecker from './utils/VideoFrameChecker'; | ||
@@ -11,3 +19,4 @@ export default { | ||
ThroughputTest, | ||
VideoBandwidthTest | ||
VideoBandwidthTest, | ||
VideoFrameChecker | ||
}; |
@@ -126,3 +126,4 @@ // adapted from https://github.com/webrtc/testrtc/blob/master/src/js/bandwidth_test.js | ||
if (isWebkit) { | ||
response.forEach((report) => { | ||
const results = typeof response.result === 'function' ? response.result() : response; | ||
results.forEach((report) => { | ||
if (report.id === 'bweforvideo') { | ||
@@ -129,0 +130,0 @@ this.bweStats.add(Date.parse(report.timestamp), parseInt(report['googAvailableSendBandwidth'], 10)); |
Sorry, the diff of this file is too big to display
HTTP dependency
Supply chain riskContains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
332939
4
8417
3
1
1
+ Addedlocalmedia@https://github.com/xdumaine/localmedia.git
+ Addedrtcpeerconnection@5.2.0
+ Addedrtcpeerconnection@5.2.0(transitive)
+ Addedsdp-jingle-json@3.1.0(transitive)
+ Addedtraceablepeerconnection@1.2.0(transitive)
+ Addedwildemitter@1.2.1(transitive)