node-red-ui-nodes
node-red-ui-nodes copied to clipboard
ui-microphone PushToTalk mode of record button not working as expected
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
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.