[Webkit-unassigned] [Bug 174126] Safari webrtc - not able to apply the mute (mute/unmute) state for the audio stream cloned

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 4 17:59:00 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174126

--- Comment #2 from youenn fablet <youennf at gmail.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170705/cad60723/attachment.html>


More information about the webkit-unassigned mailing list