Changeset 269190 in webkit


Ignore:
Timestamp:
Oct 30, 2020 10:02:47 AM (21 months ago)
Author:
youenn@apple.com
Message:

Increase camera failing timer to 30 seconds
https://bugs.webkit.org/show_bug.cgi?id=218389

Reviewed by Eric Carlson.

From testing, 3 seconds is not always enough if getUserMedia is quickly called multiple times.
Let's increase to 30 seconds to give room for slow systems while still being able to identify failures.

  • platform/mediastream/mac/AVVideoCaptureSource.h:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r269188 r269190  
     12020-10-30  Youenn Fablet  <youenn@apple.com>
     2
     3        Increase camera failing timer to 30 seconds
     4        https://bugs.webkit.org/show_bug.cgi?id=218389
     5
     6        Reviewed by Eric Carlson.
     7
     8        From testing, 3 seconds is not always enough if getUserMedia is quickly called multiple times.
     9        Let's increase to 30 seconds to give room for slow systems while still being able to identify failures.
     10
     11        * platform/mediastream/mac/AVVideoCaptureSource.h:
     12
    1132020-10-30  Antti Koivisto  <antti@apple.com>
    214
  • trunk/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.h

    r262122 r269190  
    140140    bool m_isRunning { false };
    141141
    142     static constexpr Seconds verifyCaptureInterval = 3_s;
     142    static constexpr Seconds verifyCaptureInterval = 30_s;
    143143    static const uint64_t framesToDropWhenStarting = 4;
    144144
Note: See TracChangeset for help on using the changeset viewer.