Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: da808677339de833db3e1d36ca34dda8464b4638 https://github.com/WebKit/WebKit/commit/da808677339de833db3e1d36ca34dda8464b4638 Author: Youenn Fablet <you...@apple.com> Date: 2024-05-18 (Sat, 18 May 2024)
Changed paths: M Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.h M Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm Log Message: ----------- [iOS] Camera track is sometimes muted/unmuted when starting to capture https://bugs.webkit.org/show_bug.cgi?id=274211 rdar://125475254 Reviewed by Eric Carlson. There is a race condition below WebKit between media endowment activation and camera start-u. This sometimes triggers spurious notification of being muted on iOS. We add a timer that will delay mute notifications at startup time for 1 second. Manually tested. * Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.h: * Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm: (WebCore::AVVideoCaptureSource::AVVideoCaptureSource): (WebCore::AVVideoCaptureSource::startupTimerFired): (WebCore::AVVideoCaptureSource::startProducingData): (WebCore::AVVideoCaptureSource::captureSessionIsRunningDidChange): Canonical link: https://commits.webkit.org/278952@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes