Bug 1383585 - extend device cache period for Win8;r?jib draft
authorNico Grunbaum
Tue, 15 Aug 2017 10:08:38 -0700
changeset 647854 5caf576b02503fe6c3e47596e929cfc8b8f3c981
parent 647853 36f2da27aa91c72fb93505a13089e78d7bdb1dd6
child 647894 9b741a070844d826f41495179ff2cf43c7ffd163
push id74564
push userna-g@nostrum.com
push dateThu, 17 Aug 2017 01:24:54 +0000
reviewersjib
bugs1383585
milestone56.0
Bug 1383585 - extend device cache period for Win8;r?jib MozReview-Commit-ID: 1ELsqGGPC1t
dom/media/systemservices/VideoEngine.h
--- a/dom/media/systemservices/VideoEngine.h
+++ b/dom/media/systemservices/VideoEngine.h
@@ -24,17 +24,17 @@ namespace camera {
 // it was removed (and reimplemented in Talk)
 class VideoEngine
 {
 private:
   virtual ~VideoEngine (){};
   // Base cache expiration period
   // Note because cameras use HW plug event detection, this
   // only applies to screen based modes.
-  static const int64_t kCacheExpiryPeriodMs = 1000;
+  static const int64_t kCacheExpiryPeriodMs = 2000;
 
 public:
   VideoEngine (){};
   NS_INLINE_DECL_REFCOUNTING(VideoEngine)
 
   static RefPtr<VideoEngine> Create(UniquePtr<const webrtc::Config>&& aConfig);
 #if defined(ANDROID)
   static int SetAndroidObjects(JavaVM* javaVM);