[webkit-changes] [WebKit/WebKit] a6b4a4: Reduce VPIO destruction timer delay to the delay a...
youennf
noreply at github.com
Thu May 16 00:32:39 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a6b4a4b6fc0ee708c282a831b4f87a171c69063a
https://github.com/WebKit/WebKit/commit/a6b4a4b6fc0ee708c282a831b4f87a171c69063a
Author: Youenn Fablet <youenn at apple.com>
Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths:
M Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.cpp
Log Message:
-----------
Reduce VPIO destruction timer delay to the delay applied to capture indicators
https://bugs.webkit.org/show_bug.cgi?id=274201
rdar://128111934
Reviewed by Eric Carlson.
We keep VPIO unit to reuse it in case page stops capture and restarts capture very quickly.
We do not need a long timer of 60 seconds, we reduce it to 3 seconds, which is the equivalent delay when capture indicator goes from live to not capturing.
This will further reduce the drawback of having an allocated but unused VPIO unit.
* Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.cpp:
(WebCore::CoreAudioSharedUnit::setStoredVPIOUnit):
Canonical link: https://commits.webkit.org/278850@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list