@signalapp/ringrtc
Advanced tools
Comparing version 2.26.3 to 2.26.4
@@ -181,2 +181,12 @@ "use strict"; | ||
} | ||
if (this.mediaStream !== undefined && | ||
this.mediaStream.getVideoTracks().length > 0) { | ||
// We have a stream and track for the requested camera already. Stop | ||
// the duplicate track that we just started. | ||
index_1.RingRTC.logWarn('startCapturing(): dropping duplicate call to startCapturing'); | ||
for (const track of mediaStream.getVideoTracks()) { | ||
track.stop(); | ||
} | ||
return; | ||
} | ||
this.mediaStream = mediaStream; | ||
@@ -183,0 +193,0 @@ if (!this.spawnedSenderRunning && |
{ | ||
"name": "@signalapp/ringrtc", | ||
"version": "2.26.3", | ||
"version": "2.26.4", | ||
"description": "Signal Messenger voice and video calling library.", | ||
@@ -26,3 +26,3 @@ "main": "dist/index.js", | ||
"prebuildUrl": "https://build-artifacts.signal.org/libraries/ringrtc-desktop-build-v${npm_package_version}.tar.gz", | ||
"prebuildChecksum": "5d580631487a2d988c93c872792d6a4ab91e57f9fad2d2e29ed2991163bc8288" | ||
"prebuildChecksum": "6152f6a46abca73e62644fc82e36b2ffa7927cbae1f671a2ba04a7519eb670a1" | ||
}, | ||
@@ -29,0 +29,0 @@ "author": "", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118821
2714