[Speex-dev] get the mode from a incoming speex stream
lianghu.xu at gmail.com
Tue Dec 5 17:38:37 PST 2006
I remember you said that the SDP tells the mode information.
Is SDP what you called in-band signalling?
On 12/6/06, Jean-Marc Valin <jean-marc.valin at usherbrooke.ca> wrote:
> In a "normal" frame that doesn't have in-band signalling (which nobody
> seems to use anyway), the frame starts with the narrowband information.
> If the frame is in wideband, then this will be followed by a bit of
> wideband information that starts with a bit set to 1 (narrowband starts
> with a bit set to 0). Have a look at what the Speex decoder does. You
> may actually want to have similar code in a "null decoder".
> Aymeric Moizard a écrit :
> > Hi speexers,
> > I want to be able to automatically detect the mode (narrowband/wb..)
> > of the RTP stream I'm receiving.
> > I guess this information is included in frames? Isn'it?
> > How can I read it?
> > tks,
> > Aymeric MOIZARD / ANTISIP
> > amsip - http://www.antisip.com
> > osip2 - http://www.osip.org
> > eXosip2 - http://savannah.nongnu.org/projects/exosip/
> > _______________________________________________
> > Speex-dev mailing list
> > Speex-dev at xiph.org
> > http://lists.xiph.org/mailman/listinfo/speex-dev
> Speex-dev mailing list
> Speex-dev at xiph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Speex-dev