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> &lt;<a href="mailto:jean-marc.valin@usherbrooke.ca">jean-marc.valin@usherbrooke.ca</a>&gt; 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 &quot;normal&quot; 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 &quot;null decoder&quot;.
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Jean-Marc<br><br>Aymeric Moizard a écrit :<br>&gt;<br>&gt; Hi speexers,<br>&gt;<br>&gt; I want to be able to automatically detect the mode (narrowband/wb..)<br>&gt; of the RTP stream I'm receiving.<br>&gt;
<br>&gt; I guess this information is included in frames? Isn'it?<br>&gt; How can I read it?<br>&gt;<br>&gt; tks,<br>&gt; Aymeric MOIZARD / ANTISIP<br>&gt; amsip - <a href="http://www.antisip.com">http://www.antisip.com</a>
<br>&gt; osip2 - <a href="http://www.osip.org">http://www.osip.org</a><br>&gt; eXosip2 - <a href="http://savannah.nongnu.org/projects/exosip/">http://savannah.nongnu.org/projects/exosip/</a><br>&gt;<br>&gt; _______________________________________________
<br>&gt; Speex-dev mailing list<br>&gt; <a href="mailto:Speex-dev@xiph.org">Speex-dev@xiph.org</a><br>&gt; <a href="http://lists.xiph.org/mailman/listinfo/speex-dev">http://lists.xiph.org/mailman/listinfo/speex-dev</a><br>
&gt;<br>&gt;<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>