-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AudioSession category cause other audio source to be muted #529
Comments
I never actually tried to play another HTML audio source while using this. |
@mrhery I dont think it will work in a iframe, however I did play sound properly using |
I found the solution. It is not the I did not try on bluetooth device yet since I changed the |
You should not replace
|
Fixed by c49bdc5 |
cc @andrewvmail let me know what you think of c49bdc5 in my point of view should not have major impact. |
Available on Master (NOT 6.0.13 RC1)
|
@hthetiot It looks fine but I'm concern about the mixed with others though. Googled around that and found |
actually on second thought maybe thats fine since this plugin is polyfilling cordova to be like the browser.. your change takes it even closer |
Please read first!
Please use Public Google Group (mailing list) for general technical discussions and questions.
extra/renderer-and-libwebrtc-tests.js
file).Note: If the checkboxes above are not checked (which you do after the issue is posted), the issue will be closed.
Versions affected
Description
I mixed a html page with video player (from cordova html page) and an iframe which have list of sounds. Whenever I play a sounds in the iframe, the video element in cordova html page goes mute automatically, but the video still working well. I checked
remoteStream.getAudioTracks()[0].enabled
it returnstrue
, and the video tagmuted
attribute returnfalse
.I noticed that iosrtc use
RTCEAGLVideoView
as the video view, and i tested even using Photos video on iPad, and play the sound on web browser simultaneously, the video mute too. And it is of course Apple standard (maybe). But having this issue on hybrid application is not acceptable. Because when the video call is running and notification audio played from the same (or iframe) html file will interfere (muting) the video call automatically.It only happen to remoteStream only.
Steps to reproduce
my_self
&remote_video
eachmy_self
video id (using$("#my_self").prop("srcObject", localStream)
)remote_video
video id.Expected results
The video should not mute automatically, it must played even audio player is played something. Or at least unmute after the other autdio play is stop.
Actual results
The video muted automatically, even after the audio has already finish playing.
URL of list of sound: https://workspace.my-intelligent.com/workspace/HTML5_Players/
The text was updated successfully, but these errors were encountered: