Created attachment 314561 [details] invalid volume values On the safari webrtc , when we clone the audio stream and try to apply the mute state then mute state is not getting applied. Steps - ----------------- 1.Have a audio muted stream 2.Clone that audio stream 3.Then apply unmute on this audio stream Observed - ------------------ When we un-mute we observe the invalid volume values for the volume. Please find the screen shot attached.
<rdar://problem/33123301>
Thanks for reporting this bug. I was not able to fully reproduce that bug. Using https://webrtc.github.io/samples/src/content/getusermedia/audio/ and trying to play with track cloning and the enabled attribute, everything seems to work as expected. The only thing that is different is trying to do something like: var track = stream.getAudioTracks()[0]; track.enabled = false; var clonedTrack = track.clone(); clonedTrack.enabled = true; audio.srcObject = new MediaStream([clonedTrack]); // There audio is not playing audio.pause(); audio.play() // There audio is playing Kishor, is that your issue? Can you precise what you cannot do here? A reduced script/example showing your issue would be great.
*** This bug has been marked as a duplicate of bug 172831 ***