Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c85534cb863a0ba13f6aa262a732b41c7589b4c5
https://github.com/WebKit/WebKit/commit/c85534cb863a0ba13f6aa262a732b41c7589b4c5
Author: Vitaly Dyachkov <[email protected]>
Date: 2024-07-06 (Sat, 06 Jul 2024)
Changed paths:
M Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp
M Source/WebCore/platform/mock/MockRealtimeVideoSource.h
Log Message:
-----------
REGRESSION(278498@main) [Skia] getUserMedia(deviceID) frequently freezing in
media stream tests under debug
https://bugs.webkit.org/show_bug.cgi?id=275165
Reviewed by Philippe Normand.
Currently, `MockRealtimeVideoSource` is generating frames repeatedly on
the main thread. This can slow down the `WebProcess` and cause test
timeouts. To fix this, we now use a background thread instead. The same
thread is also used for generating a photo.
* Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp:
(WebCore::m_emitFrameTimer):
(WebCore::MockRealtimeVideoSource::takePhotoInternal):
(WebCore::MockRealtimeVideoSource::generateFrame):
(WebCore::takePhotoRunLoop): Deleted.
* Source/WebCore/platform/mock/MockRealtimeVideoSource.h:
Canonical link: https://commits.webkit.org/280712@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes