webrtc / samples

WebRTC Web demos and samples
https://webrtc.github.io/samples
BSD 3-Clause "New" or "Revised" License
13.94k stars 5.71k forks source link

[Sample PeerConnection Channel] - The all sound turn off after enable navigator.mediaDevices.getUserMedia #1606

Closed tiennguyen1293 closed 1 year ago

tiennguyen1293 commented 1 year ago

Based on the sample: https://webrtc.github.io/samples/src/content/peerconnection/channel

I play the sound (play the audio file) and after that is get permission microphone from navigator.mediaDevices.getUserMedia And then issues happened the sound from the audio file turned off and I just did not hear any more.

I research for many days to resolve this but can not see the answer. It just happens on some laptops (ASUS Laptop - Window 11 - Brower Chrome Version 112.0.5615.121 (latest))

Please help resolve this issue, Thanks

Code here: https://codesandbox.io/s/webrtc-n35bzf

Browser affected

Chrome 112.0.5615.121 (latest)

Description

Steps to reproduce

Expected results

Actual results

tiennguyen1293 commented 1 year ago

screenshot OS from device image

fippo commented 1 year ago

This isn't an issue with the samples from this repository and you filed https://bugs.chromium.org/p/chromium/issues/detail?id=1435338& in addition.