Canardoux / flutter_sound

Flutter plugin for sound. Audio recorder and player.
Mozilla Public License 2.0
868 stars 568 forks source link

Some doubts #745

Open iamaryanshandilya opened 3 years ago

iamaryanshandilya commented 3 years ago

is there a way to dynamically keep checking the length of audio that is being recorded and alert the user if the audio duration crosses the set limit like in WhatsApp voice note and Instagram using the flutter_sound or flutter_sound_lite plugin? (Just say I only wanted to allow the user to record audio for 2 minutes and not more than that, what should I do?)

mhstoller commented 3 years ago

Yes, use the instructions here to listen to the progress events and then handle cases where the duration is approaching or reaches a set limit: https://tau.canardoux.xyz/tau_api_recorder_on_progress.html

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.