Bug 1383585 - extend device cache period for Win8;r?jib
MozReview-Commit-ID: 1ELsqGGPC1t
--- 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);