[Speex-dev] speex with jitter buffer
nomprenom
nomprenom at gmail.com
Mon Jan 18 19:30:27 UTC 2021
Thank you Tristan for your answer.
For now I took jitter.c and .h from dsp and added them to the makefile of
speex.
I also added speex_jitter_buffer.c and h from the sample into the lib.
On Mon, 18 Jan 2021 at 20:30, Tristan Matthews <tmatth at videolan.org> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/speex-dev/attachments/20210118/9bdd8b88/attachment.html>
More information about the Speex-dev
mailing list