Hi,
On Mon, Jan 18, 2021 at 12:29 PM nomprenom <nomprenom at gmail.com>
wrote:>
> Hi,
> I'd like to use the speex encode/decoder library with the speex jitter
buffer.
> I took, first, the project "speex" from
https://gitlab.xiph.org/xiph/speex
> There is a nice sample in the directory speex_client/ which is using
speex_jitter_buffer.h which itself is using <speex/speex_jitter.h>
> I couldn't find this include file in the project.
>
> I checked in the project speexDSP and found it.
> I thought, maybe, speexDsp is the new "speex" because it's
deprecated.
>
> The problem is, now, with speexDsp I can't find the "speex.h"
header and can't find either the speex_decode_init(), speex_decoder_ctl()
APIs.
> It's only in the sampledec.c in the doc/ directory of speexdsp
>
> How can I use the speex decoder/encoder with the speex_jitter api together
?
The Speex project has been split in 2, speex "the codec" (where
you'll
find the decode_init and decoder_ctl API) and speexdsp "the DSP
library" where you'll find the jitter buffer API. The motivation was
that users want to be able to use purely the codec without the DSP
stuff and vice-versa.
N.B. The most active/used project in speexdsp is the resampler, you
may find jitterbuffer implementations elsewhere that are a better fit
for your project.
See:
https://gitlab.xiph.org/xiph/speex
https://gitlab.xiph.org/xiph/speexdsp
Best,
Tristan