FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
130 stars 26 forks source link

Start Record and Stop Recording no longer working #4946

Open mal2087 opened 7 hours ago

mal2087 commented 7 hours ago

Can we access your project?

Current Behavior

I previously implemented start record and stop record to generate a FFUploadedFile type in bytes. This was previously successfully working, confirmed with being able to send audio tiles to OpenAI's text to speech. In the last few days however, the file is no longer being generated. I tried testing it as well by trying to upload the FFUploadedFile to firebase and then trying to play the audio but there is no file that is produced. In addition, prior when it was working, it was only working on the chrome browser and never on the safari browser. On the safari browser, start record would initialize for 2 seconds, and then automatically stop by itself. So it went from only partially working to not working at all now, rendering voice interactions using FF inbuilt features not functional.

Expected Behavior

Start record and stop record resulting in a audio file as a FFUploadedFile type

Steps to Reproduce

  1. Create a page
  2. Add the start record and stop record in-built actions
  3. Try to use the resulting audiofile in some way, whether its trying to uploade it to firebase storage to test it out or sending to a service like OpenAI speech to text to transcribe

Reproducible from Blank

Bug Report Code (Required)

IT4glsjfz49On7xZ15DuKu9ahjwRQmI8U5c0st5Hd0gdCOPrBqQIec77VFtoXsPgaVNcelekkXwHw9L4ivLhC/YnHymuUa5f1ZZQSDnke2igRLqqCc+WXX97EfhQfGKD1MCwnhBTOsl2SmQ73E+hfvK8aAHDBOu/Zwh9f6PHaOI=

Visual documentation

screen-capture (4).webm

Environment

- FlutterFlow version: V5.0.0+
- Platform: chrome
- Browser name and version: Chrome
- Operating system and version affected: Windows, Chrome

Additional Information

No response

Alezanello commented 6 hours ago

Hello!!

I wasn’t able to replicate the issue on my end. I was able to record audio, pause the recording, and then play back the recorded audio without any problems. Here’s a public project based on your test for reference: https://app.flutterflow.io/project/qa-3093-7rdryp.

mal2087 commented 6 hours ago

Nice thanks! That does work on web browser on desktop. Do you have any insights on why this doesnt work on any web browser on apple devices?