New comment by chloris-pale-green on void-packages repository https://github.com/void-linux/void-packages/issues/4420#issuecomment-1572113459 Comment: Renaming `ch_layout` to `channel_layout` in the code does not work. There seem to be different versions of the `ffmpeg` library with different APIs. We currently have version 4.4 with [this API](https://ffmpeg.org/doxygen/4.4/structAVCodecContext.html). Struct `AVCodecContext` has a field `uint64_t channel_layout`. [The `trunk` version](https://ffmpeg.org/doxygen/trunk/structAVCodecContext.html) has another kind of a field: `AVChannelLayout ch_layout`, which seems to be what the Jami code expects. It seems to first appear in `ffmpeg` 5.1. Perhaps an older version of Jami would build ... In addition, they have switched to `sd-dbus`, which we don't have. Compiling without `dbus` support. EDIT: compilation proceeds with a pre-FFmpeg 6 commit of `jami-daemon`, but it chokes on an inclusion of a header, belonging to [RESTinio](https://github.com/Stiffstream/restinio), which we don't have in our repos. EDIT2: [RESTinio packaged](https://github.com/chloris-pale-green/void-packages/commit/540c4cd4327eeb34c032ee543344fd981fd4a3de), but I have no idea how to use it without pushing it to Void repos first.