node-red / node-red-dashboard

A dashboard UI for Node-RED
Other
1.3k stars 450 forks source link

Dashboard UI audiout not playing TTS only on a specific socketid client. #807

Closed hammeronthenet closed 1 year ago

hammeronthenet commented 1 year ago

"DiscIaimer": I post previously on nodered forum, here:

https://discourse.nodered.org/t/dashboard-ui-audiout-is-it-possible-play-tts-only-on-specific-socketid-client/78637

but I'm unable to understand if this is a bug, or something missing or whatever.

So: really sorry if this post may be inappropriate. If this is inappropriate, please consider this post null.

What are the steps to reproduce?

After a button click on ui or event, I passed in msg.payload the text to reproduce by TTS to AudioOut node. Please note tha inside msg there's the socketid, and its value is correct.

What happens?

if I've got 2/3 computers connected, I noticed that every one play the same audio.

What do you expect to happen?

if there is on msg the socketid valorized, the audio should be played only on correct client (in my example the same that press the button,or definitely plays the "action")

Please tell us about your environment:

dceejay commented 1 year ago

Fixed in v3.5.0 master - not on npm yet.

hammeronthenet commented 1 year ago

Oh, so was really a bug? I check for the fixes on source code thnks ;)