| Summary: | Cloned MediaStream audio attached to peer connection causes local echo | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chad Phillips <webkit> |
| Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | eric.carlson, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 11 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 11 | ||
|
Description
Chad Phillips
2018-06-30 17:43:00 PDT
Thanks for the report, would you be able to provide a jsfiddle or something like that so that we can easily reproduce the issue? Still trying to find a simple way to reproduce this issue for testing. In the process I believe I at least found why the echo stops if I display the first video stream again. As a simple demonstration, I recorded the issue, viewable here: https://youtu.be/eVQVSy6Edt8 The first playing video is a peer connection that's also sending local audio/video to a conferencing application. When I start a second peer connection that also has local audio/video, you'll see that the first video stops (audio stops too). This doesn't seem to accord with the rules listed at https://webkit.org/blog/7763/a-closer-look-into-webrtc/, which say "MediaStream-backed media will autoplay if the web page is already playing audio", so I'm wondering if another bug is in order here? This turned out to be audio playing from a video element with a local stream attached. Setting the mute property on the local video element solved the issue. |