Bug 187226 - Monitoring sender stream with WebAudio causes audio corruption in receiver audio streams
Summary: Monitoring sender stream with WebAudio causes audio corruption in receiver au...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 11
Hardware: iPhone / iPad iOS 11
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-06-30 17:32 PDT by Chad Phillips
Modified: 2018-06-30 18:31 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chad Phillips 2018-06-30 17:32:24 PDT
I use Hark (https://github.com/otalk/hark), a simple wrapper around the WebAudio API, to attach to a sender's mic stream to monitor for volume changes.

When I do this, inbound audio tracks on a peer connection attached to an audio/video element have corrupted audio: missing sound, skipping, static -- basically so bad it's unintelligible. The audio is even corrupt on other inbound audio streams not related to the outbound audio, so I'm guessing this is a global audio processing issue.
Comment 1 Chad Phillips 2018-06-30 17:34:23 PDT
I'll note that this issue only occurs on iOS. Doesn't seem to be an issue on any other platform I've tested.
Comment 2 Radar WebKit Bug Importer 2018-06-30 18:31:35 PDT
<rdar://problem/41686301>