← Back

Play Bluetooth SBC audio using the <audio> tag

SBC is the mandatory codec of the Bluetooth A2DP profile — every pair of wireless headphones can decode it. Each frame carries its own syncword and parameters, so the stream needs no header. Decoded by libsbc_1, BlueZ's implementation — not one sample of 881 920 differs from ffmpeg's decoder.

Code snippet

<audio is="universal-audio_1" src="testcard.sbc" using="solver_minimal_1"
        with="libsbc_1" controls> </audio>

Specifications :

The specifications of the test sequence are :

Format Bluetooth SBC, 44.1 kHz stereo, 10 s
FileSize 158 Ko
Solver solver_minimal_1