Device: fenix 8 AMOLED 51 mm (firmware 24.20)
API level: 6.0.3, SDK 9.3
I am developing an app that streams audio from the watch microphone to an Android phone with Communications.transmit().
What I see:
- Format: CONTAINER_OGG + CODEC_OPUS, 16 kHz mono, windowSize 200.
- Even with a small windowSize, onData() delivers the encoded audio in bursts about once per second (about 3.5 kB per burst). The encoder/container seems to flush roughly one second of audio at a time.
- After Audio.Capture.start(), the first real audio data reaches the phone about 3 s later (the Ogg header arrives at once).
- So the audio waits up to about 1 s on the watch before it can even be sent, plus the Bluetooth transfer time.
What I tried:
- CODEC_LPCM in a WAV container at 8 kHz arrives evenly (no one-second blocks), but it is 16 kB/s. The BLE link only just carries it and the backlog overflows, so it is not a usable alternative.
- CONTAINER_WAV + CODEC_OPUS: isFormatSupported() returns false.
Request (any one of these would solve it):
1. A setting for the Ogg page / flush interval for Opus capture (for example 100–250 ms), or
2. Raw Opus packets delivered to onData() frame by frame, without the Ogg container, or
3. Support for Opus in another container that flushes per frame.
A shorter start-up time to the first audio data would also help.
Thank you!