Low latency options for Bluetooth?
Hi,
Legacy bluetooth codecs have a latency of ~200 ms or more, which creates a noticeable lag when watching videos or during voice calls.
The AptX Low Latency (LL) codec can provide a stable connection with at most 40 ms of latency.
- Is there a way to get AptX LL to work on Linux?
- Are there alternatives for a low latency Bluetooth connection?
PS: I hope this is a legitimate place for this question; I couldn't find a bluez-user mailing list.
Cheers,
Signature · 1 line
Philipp G. Haselwarter
Marcel Holtmann
maintainerHi Philipp,
Quoted 8 lines
Legacy bluetooth codecs have a latency of ~200 ms or more, which creates a noticeable lag when watching videos or during voice calls.
The AptX Low Latency (LL) codec can provide a stable connection with at most 40 ms of latency.
- Is there a way to get AptX LL to work on Linux?
- Are there alternatives for a low latency Bluetooth connection?
with BlueZ for Android we actually had AptX working (given CSR provided you with a correct binary).
Regards
Marcel
Luiz Augusto von Dentz
maintainerHi Marcel, Philipp,
Quoted 5 lines · Marcel Holtmann
Hi Philipp,
Quoted 3 lines
Legacy bluetooth codecs have a latency of ~200 ms or more, which creates a noticeable lag when watching videos or during voice calls.
Quoted 7 lines
Quoted 5 lines
The AptX Low Latency (LL) codec can provide a stable connection with at most 40 ms of latency.
- Is there a way to get AptX LL to work on Linux?
- Are there alternatives for a low latency Bluetooth connection?with BlueZ for Android we actually had AptX working (given CSR provided you with a correct binary).
There is a pretty old patch for PulseAudio that enables AptX:
It doesn't have the actual AptX library, which I guess cannot be distributed under the same license. We could perhaps have OPUS (which should perform quite well) instead which should be available in all distros already, that said no headset or phone would support it initially, though it wouldn't be a problem for phones to add support for it since it has been in use in WebRTC, youtube, skype, etc.
Quoted 8 lines
Regards
Marcel
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Luiz Augusto von Dentz
Marcel Holtmann
maintainerHi Luiz,
Quoted 13 lines
Quoted 10 lines
Quoted 8 lines
Legacy bluetooth codecs have a latency of ~200 ms or more, which creates a noticeable lag when watching videos or during voice calls.
The AptX Low Latency (LL) codec can provide a stable connection with at most 40 ms of latency.
- Is there a way to get AptX LL to work on Linux?
- Are there alternatives for a low latency Bluetooth connection?with BlueZ for Android we actually had AptX working (given CSR provided you with a correct binary).
There is a pretty old patch for PulseAudio that enables AptX:
Quoted 8 lines
It doesn't have the actual AptX library, which I guess cannot be distributed under the same license. We could perhaps have OPUS (which should perform quite well) instead which should be available in all distros already, that said no headset or phone would support it initially, though it wouldn't be a problem for phones to add support for it since it has been in use in WebRTC, youtube, skype, etc.
actually it seems FFmpeg has an open source aptX encoder and decoder.
https://patchwork.ffmpeg.org/patch/5879/
https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/aptx.c
So I think someone could extend PA to use FFmpeg’s aptX and just enable aptX for all devices.
Regards
Marcel
Luiz Augusto von Dentz
maintainerHi Marcel,
On Tue, Apr 24, 2018 at 10:01 AM, Marcel Holtmann <[email protected]> wro= te:
Quoted 3 lines
Hi Luiz,
Quoted 1 line
Quoted 1 line
Quoted 1 line
Legacy bluetooth codecs have a latency of ~200 ms or more, which creat=
es
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
a noticeable lag when watching videos or during voice calls.
The AptX Low Latency (LL) codec can provide a stable connection with a=
t
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
most 40 ms of latency.
- Is there a way to get AptX LL to work on Linux?
- Are there alternatives for a low latency Bluetooth connection?with BlueZ for Android we actually had AptX working (given CSR provided=
you with a correct binary).
Quoted 4 lines
Quoted 4 lines
There is a pretty old patch for PulseAudio that enables AptX:
https://build.tizen.org/package/view_file/Tizen/pulseaudio/0020-add-blue=
tooth-a2dp-aptx-codec-support-samsung.patch?expand=3D1
Quoted 8 lines
Quoted 7 lines
It doesn't have the actual AptX library, which I guess cannot be distributed under the same license. We could perhaps have OPUS (which should perform quite well) instead which should be available in all distros already, that said no headset or phone would support it initially, though it wouldn't be a problem for phones to add support for it since it has been in use in WebRTC, youtube, skype, etc.
Quoted 7 lines
actually it seems FFmpeg has an open source aptX encoder and decoder.
https://patchwork.ffmpeg.org/patch/5879/
https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/aptx.c
So I think someone could extend PA to use FFmpeg=E2=80=99s aptX and just =
enable aptX for all devices.
Interesting, I guess we could do that, most likely it will be hard for distros since they don't normally ship with libavcodec since other codecs might not be 'free', but I guess users may be able to install that by themselves.
--=20
Luiz Augusto von Dentz