flutter_chatview icon indicating copy to clipboard operation
flutter_chatview copied to clipboard

Problem with voice message

Open sana2024 opened this issue 2 years ago • 7 comments

I like everything about this package, it has everything you need to build a chat app, however i have some problems with the voice message system

  • there is no way to cancel voice messages and recording button is not customizable at all
  • i can't read mp3 file from the internet i think it only accepts local files
  • after recording is finished it gets back an error CreateDataFile failed "The requested URL was not found on this server."

is there a way to customize to this part of the package ????

Best Regards

sana2024 avatar Jan 10 '24 08:01 sana2024

Yeah After uploading m4a file to server it can't read any files

92sajid110 avatar Jan 29 '24 11:01 92sajid110

want an option to read online files also so there is use of voice messages

92sajid110 avatar Jan 29 '24 11:01 92sajid110

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Feb 20 '24 01:02 github-actions[bot]

Any update about it?

tairoroberto avatar Feb 22 '24 12:02 tairoroberto

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Mar 14 '24 01:03 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Mar 28 '24 02:03 github-actions[bot]

Hi @sana2024

  • There is no way to cancel voice messages

I have added support for it in #162.

  • Recording button is not customizable at all

There are fields named micIcon and stopIcon in VoiceRecordingConfiguration to customize recording button. Also, for customize cancel record icon cancelRecordIcon field is added in #162. You can see below code snippet for that:

voiceRecordingConfiguration: VoiceRecordingConfiguration(
            micIcon: const Icon(
              Icons.mic,
            ),
            stopIcon: const Icon(
              Icons.stop,
            ),
           cancelRecordIcon: const Icon(
              Icons.cancel,
            ),
),
  • i can't read mp3 file from the internet i think it only accepts local files

Yeah right currently, flutter_chatview only support local audio files.

  • after recording is finished it gets back an error CreateDataFile failed "The requested URL was not found on this server."

For that can you please share code snippet so we can reproduce the issue to investigate it further.

apurva010 avatar May 16 '24 06:05 apurva010