The libjpeg-turbo library should be the fastest available library for this. The main focus for Beam so far has been binary lossless, to close a gap (both NDI and Teleport don't offer these options) and this is also the motivation to implement JPEG (lossless), however, lossy should also be offered as part of this implementation, since it's not much extra work while already at it.
[x] Support both stable v2 and beta v3 versions of libjpeg-turbo and auto-detect which one is available
The libjpeg-turbo library should be the fastest available library for this. The main focus for Beam so far has been binary lossless, to close a gap (both NDI and Teleport don't offer these options) and this is also the motivation to implement JPEG (lossless), however, lossy should also be offered as part of this implementation, since it's not much extra work while already at it.