Skip to content
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

Audio is not working properly when camera is muted #797

Merged
merged 1 commit into from Apr 3, 2023

Conversation

CSantosM
Copy link
Member

@CSantosM CSantosM commented Mar 31, 2023

If a MediaStream is published with video track stopped and a standard audio track, the video was not playing because the video track of subscriber was enabled. This track must be disabled for allowing play the video.
Issue reference: https://openvidu.discourse.group/t/microphone-doesnt-work-correctly-on-web-from-a-mobile-device/4514

Steps for reproducing the problem:

  1. Connect a standard user to a session
  2. In other device, initialice a publisher
  3. Mute the camera publisher using publishVideo method releasing the video device (it applies track.stop()).
  4. Connect to same session as other participant
  5. The first particpant is not receiving the second participant audio.

If a MediaStream is published with video track stopped  and a standard audio track, the video was not playing because the video track of subscriber was enabled. This track must be disabled for allowing play the video. 
Issue reference: https://openvidu.discourse.group/t/microphone-doesnt-work-correctly-on-web-from-a-mobile-device/4514
@CSantosM CSantosM self-assigned this Mar 31, 2023
@CSantosM CSantosM added the bug label Mar 31, 2023
Copy link
Member

@pabloFuente pabloFuente left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, behaves good

@pabloFuente pabloFuente merged commit 83e9ab7 into master Apr 3, 2023
10 checks passed
@pabloFuente pabloFuente deleted the ov_browser_fix branch April 3, 2023 10:10
@scadyr
Copy link

scadyr commented May 5, 2023

Hello team, i found an issue and i don't know if anyone else found it too.
The issue is sometimes when i share screen then audio is not working, here is the error message :

"openvidu-webcomponent-2.27.0.js:2 [SessionComponent] ERROR: NO_STREAM_PLAYING_EVENT StreamManager of Stream str_CAM_TGMN_con_RlpqC0eq03 (Subscriber) did not trigger "streamPlaying" event in 4000 ms
e"

thanks before

@CSantosM
Copy link
Member Author

CSantosM commented May 5, 2023

I can't reproduce this issue. Please, describe the steps I must follow to discover it.

@scadyr
Copy link

scadyr commented May 9, 2023

sorry for my slow reply,
ok, here is the steps :

  1. I test with 2 participants, 1 moderator and 1 publisher
  2. Then a moderator start share screen by just click the share button and then after few minutes click it again to stop
  3. Then the audio is notworking and that error shown

but.. i don't know why this bug is missing and everything is normal when i try to make sure if its a bug, i don't know what happend and right now it's still work properly

was it a network connection issue ?

best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants