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

ui_audio reset resets only the latest audio. #836

Open
6 tasks
anttiryt opened this issue May 20, 2024 · 1 comment
Open
6 tasks

ui_audio reset resets only the latest audio. #836

anttiryt opened this issue May 20, 2024 · 1 comment

Comments

@anttiryt
Copy link

What are the steps to reproduce?

Use two audio files for ui_audio

  • one longer, e.g. background music
  • one short, e.g. exclamation mark
  • add third, button to send msg.reset.
    After activating background music and afterwards shorter audio, it is impossible to stop background music.

What happens?

Latest, in this example short audio, is stopped if playing. Previous is left playing.

What do you expect to happen?

To both stop playing.

Please tell us about your environment:

  • Node-RED-Dashboard version: 3.6.5
  • Node-RED version: 3.1.9
  • node.js version: 22.0
  • npm version: 10.5.1
  • Platform/OS: 22.04lts
  • Browser: chrome
@anttiryt
Copy link
Author

anttiryt commented May 21, 2024

What are the steps to reproduce?

Inject twice to send an audio to ui_audio and then inject reset. Only latter stops playing.

How to circumvent?

Use different audio channel like raspbian own audio out

How not to circumvent?

Using multiple ui_audio nodes does not current help as they are synced.

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

No branches or pull requests

1 participant