RESOLVED DUPLICATE of bug 172831 174126
Safari webrtc - not able to apply the mute (mute/unmute) state for the audio stream cloned
https://bugs.webkit.org/show_bug.cgi?id=174126
Summary Safari webrtc - not able to apply the mute (mute/unmute) state for the audio ...
KISHOR
Reported 2017-07-04 03:52:48 PDT
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.
Attachments
invalid volume values (1005.87 KB, image/png)
2017-07-04 03:52 PDT, KISHOR
no flags
Radar WebKit Bug Importer
Comment 1 2017-07-04 06:42:07 PDT
youenn fablet
Comment 2 2017-07-04 17:59:00 PDT
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.
youenn fablet
Comment 3 2017-07-10 13:30:47 PDT
*** This bug has been marked as a duplicate of bug 172831 ***
Note You need to log in before you can comment on or make changes to this bug.