Re: speex with jitter buffer
nomprenom <[email protected]> Mon, 18 Jan 2021 21:30:27 +0200
| Newsgroups | gmane.comp.audio.compression.speex.devel |
|---|---|
| Message-ID | <CABb1zCPdEPnF4qHq9=sp_OYvv2CP2PtUsfimjqoh-=Tr8JaqcQ@mail.gmail.com> |
--===============3287023917321154512== Content-Type: multipart/alternative; boundary="000000000000cd0a3d05b931c16b" --000000000000cd0a3d05b931c16b Content-Type: text/plain; charset="UTF-8" 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 <[email protected]> wrote: > Hi, > > On Mon, Jan 18, 2021 at 12:29 PM nomprenom <[email protected]> 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 > --000000000000cd0a3d05b931c16b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thank you=C2=A0Tristan for your answer.<div><br><div>For n= ow I took jitter.c and .h from dsp and added them to the makefile of speex.= </div><div>I also added speex_jitter_buffer.c and h from the sample into th= e lib.<br></div><div><br></div><div><br></div></div></div><br><div class=3D= "gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, 18 Jan 2021 at = 20:30, Tristan Matthews <<a href=3D"mailto:[email protected]">tmatth@v= ideolan.org</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex">Hi,<br> <br> On Mon, Jan 18, 2021 at 12:29 PM nomprenom <<a href=3D"mailto:nomprenom@= gmail.com" target=3D"_blank">[email protected]</a>> wrote:<br> ><br> > Hi,<br> > I'd like to use the speex encode/decoder library with the speex ji= tter buffer.<br> > I took, first, the project "speex" from <a href=3D"https://g= itlab.xiph.org/xiph/speex" rel=3D"noreferrer" target=3D"_blank">https://git= lab.xiph.org/xiph/speex</a><br> > There is a nice sample in the directory speex_client/ which is using s= peex_jitter_buffer.h which itself is using <speex/speex_jitter.h><br> > I couldn't find this include file in the project.<br> ><br> > I checked in the project speexDSP and found it.<br> > I thought, maybe, speexDsp is the new "speex" because it'= ;s deprecated.<br> ><br> > The problem is, now, with speexDsp I can't find the "speex.h&= quot; header and can't find either the speex_decode_init(), speex_decod= er_ctl() APIs.<br> > It's only in the sampledec.c in the doc/ directory of speexdsp<br> ><br> > How can I use the speex decoder/encoder with the speex_jitter api toge= ther ?<br> <br> The Speex project has been split in 2, speex "the codec" (where y= ou'll<br> find the decode_init and decoder_ctl API) and speexdsp "the DSP<br> library" where you'll find the jitter buffer API. The motivation w= as<br> that users want to be able to use purely the codec without the DSP<br> stuff and vice-versa.<br> <br> N.B. The most active/used project in speexdsp is the resampler, you<br> may find jitterbuffer implementations elsewhere that are a better fit<br> for your project.<br> <br> See:<br> <a href=3D"https://gitlab.xiph.org/xiph/speex" rel=3D"noreferrer" target=3D= "_blank">https://gitlab.xiph.org/xiph/speex</a><br> <a href=3D"https://gitlab.xiph.org/xiph/speexdsp" rel=3D"noreferrer" target= =3D"_blank">https://gitlab.xiph.org/xiph/speexdsp</a><br> <br> Best,<br> Tristan<br> </blockquote></div> --000000000000cd0a3d05b931c16b-- --===============3287023917321154512== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KU3BlZXgtZGV2 IG1haWxpbmcgbGlzdApTcGVleC1kZXZAeGlwaC5vcmcKaHR0cDovL2xpc3RzLnhpcGgub3JnL21h aWxtYW4vbGlzdGluZm8vc3BlZXgtZGV2Cg== --===============3287023917321154512==--