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-microphone PushToTalk mode of record button not working as expected #48

Open
5 tasks
BruggeZot opened this issue Nov 9, 2020 · 1 comment
Open
5 tasks
Labels
help wanted Extra attention is needed

Comments

@BruggeZot
Copy link

BruggeZot commented Nov 9, 2020

Which node are you reporting an issue on?

ui-microphone

What are the steps to reproduce?

Record audio into a wav file with the ui-microphone node and play afterwards.

What happens?

With iOS v14.1 Safari browser the record button does not bounce back in "Press to start, release to stop" mode, but requires a second press to stop recording.

What do you expect to happen?

Recording while pressed, upon release stop recording, like Push To Talk functionality in a radio, dictaphone or in my case an intercom.

Please tell us about your environment:

  • Node-RED version: v1.0.6
  • node.js version: v10.21.0
  • npm version: v5.8.0
  • Platform/OS: Raspberry Pi OS "Buster" Kernel 5.4.72
  • Browser: iPhone iOS v14.1 Safari
@dceejay
Copy link
Member

dceejay commented Nov 9, 2020

so yes - Safari does have some differences... As noted in the readme you first need to enable experimental MediaRecorder capability (may be in Safari 15 but not yet available). - This then works OK on Mac... BUT - IOS has taken over the long press functionality and uses it for context menus and so on in such a way that it is just about impossible to turn off. In particular it jumps to and highlights the nearest piece of text. Without forcing this off for the entire dashboard which we aren't going to do - then we cant really do anything about this yet - If anyone knows of a solution that can enable just specific buttons to handle long press please let us know.

@dceejay dceejay added the help wanted Extra attention is needed label Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants