8000 A MediaStreamTrack ended due to a capture failure - When using Airpods · WebKit/WebKit@24cb5e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 24cb5e2

Browse files
committed
A MediaStreamTrack ended due to a capture failure - When using Airpods
https://bugs.webkit.org/show_bug.cgi?id=232835 rdar://problem/85424679 Reviewed by Eric Carlson. Doing some manual testing, we are reconfiguring when a BT headset gets enabled and it is being used as the default outpt. In that case, it sometimes takes 5 seconds on some devices to do the reconfiguration. This might be due to the BT headset just starting. Increasing from 10 seconds to 20 seconds the capture verification timer to ensure we are not failing capture in that case. * Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.h: Canonical link: https://commits.webkit.org/259150@main
1 parent 021a45c commit 24cb5e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class CoreAudioSharedUnit final : public BaseAudioSharedUnit {
6363
virtual OSStatus defaultInputDevice(uint32_t*) = 0;
6464
virtual OSStatus defaultOutputDevice(uint32_t*) = 0;
6565
virtual void delaySamples(Seconds) { }
66-
virtual Seconds verifyCaptureInterval(bool isProducingSamples) const { return isProducingSamples ? 10_s : 2_s; }
66+
virtual Seconds verifyCaptureInterval(bool isProducingSamples) const { return isProducingSamples ? 20_s : 2_s; }
6767
};
6868

6969
WEBCORE_EXPORT static CoreAudioSharedUnit& unit();

0 commit comments

Comments
 (0)
0