Hi Jean-Marc,<br>
<br>
I remember you said that the SDP tells the mode information.<br>
Is SDP what you called in-band signalling?<br>
<br>
Lianghu<br><br><div><span class="gmail_quote">On 12/6/06, <b class="gmail_sendername">Jean-Marc Valin</b> <<a href="mailto:jean-marc.valin@usherbrooke.ca">jean-marc.valin@usherbrooke.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In a "normal" frame that doesn't have in-band signalling (which nobody<br>seems to use anyway), the frame starts with the narrowband information.<br>If the frame is in wideband, then this will be followed by a bit of
<br>wideband information that starts with a bit set to 1 (narrowband starts<br>with a bit set to 0). Have a look at what the Speex decoder does. You<br>may actually want to have similar code in a "null decoder".
<br><br> Jean-Marc<br><br>Aymeric Moizard a écrit :<br>><br>> Hi speexers,<br>><br>> I want to be able to automatically detect the mode (narrowband/wb..)<br>> of the RTP stream I'm receiving.<br>>
<br>> I guess this information is included in frames? Isn'it?<br>> How can I read it?<br>><br>> tks,<br>> Aymeric MOIZARD / ANTISIP<br>> amsip - <a href="http://www.antisip.com">http://www.antisip.com</a>
<br>> osip2 - <a href="http://www.osip.org">http://www.osip.org</a><br>> eXosip2 - <a href="http://savannah.nongnu.org/projects/exosip/">http://savannah.nongnu.org/projects/exosip/</a><br>><br>> _______________________________________________
<br>> Speex-dev mailing list<br>> <a href="mailto:Speex-dev@xiph.org">Speex-dev@xiph.org</a><br>> <a href="http://lists.xiph.org/mailman/listinfo/speex-dev">http://lists.xiph.org/mailman/listinfo/speex-dev</a><br>
><br>><br>_______________________________________________<br>Speex-dev mailing list<br><a href="mailto:Speex-dev@xiph.org">Speex-dev@xiph.org</a><br><a href="http://lists.xiph.org/mailman/listinfo/speex-dev">http://lists.xiph.org/mailman/listinfo/speex-dev
</a><br></blockquote></div><br>