Skip to content

Record on iOS: onProgress is always zero #11

@yanivshaked

Description

@yanivshaked

While recording on iOS, onProgress always provides zero.
Please note the same issue exists in flutter_sound:
Canardoux/flutter_sound#517

But how do I "translate" the workaround suggested there to tau?

Specifying SessionCategory.record along with AudioFocus.requestFocusAndDuckOthers seems to be working:


    await _audioRecorder.openAudioSession(
      focus: AudioFocus.requestFocusAndDuckOthers,
      category: SessionCategory.record,
    );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions