Skip to main content

AudioRecorderUploadSettings

Upload settings for streaming recordings.

Note

Uploads started by AudioRecorder.start_recording send raw PCM16BITS bytes. They do not add a playable audio container such as WAV.

Properties

Properties

file_nameclass-attributeinstance-attribute

file_name: str | None = None

Friendly name reported in upload events.

headersclass-attributeinstance-attribute

headers: dict[str, str] | None = None

HTTP headers sent with the upload request.

methodclass-attributeinstance-attribute

method: str = 'PUT'

HTTP method to use when uploading the streamed bytes.

upload_urlinstance-attribute

upload_url: str

Destination URL, for example one returned by Page.get_upload_url.