Skip to content

bufferSize different for Android and iOS #129

@losciur

Description

@losciur

Hi!
To obtain the same event.data.length in Android and iOS:

window.addEventListener('audioinput',  (event: any) => {
console.log("event.data.length",event.data.length)
}

I have to set different bufferSize property in captureCfg.
Example: to obtain event.data.length: 8192, I have to set:

  • for Android: bufferSize: 8192
  • for iOS: bufferSize: 16384 (8192 * 2)

Do you know this behaviour?

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