<div> I&#39;m unable to receive AMR audio using InitiateByMediaType( &quot;audio/AMR&quot;). The reason is readSource(), which is AMRInterleaver in this case, has no MIMEType() redefined. It returns a generic type, something like &quot;binary/octed-stream&quot; instead &quot;audio/AMR&quot;, and function fails at this line :</div>

<div> </div>
<div> </div>
<div><span class="comment">// Make sure the source&#39;s MIME type is one that we handle:</span><br><a name="l00482"></a>00482     <span class="keywordflow">if</span> (strcmp(<a class="code" href="http://www.live555.com/liveMedia/doxygen/html/AVIFileSink_8cpp.html#25e0e015bb23ec5ef03f7e9b9be9b7f4">subsession</a>-&gt;<a class="code" href="http://www.live555.com/liveMedia/doxygen/html/classMediaSubsession.html#98fd05e720ca289f4f6f68ad86ec3d37">readSource</a>()-&gt;<a class="code" href="http://www.live555.com/liveMedia/doxygen/html/classMediaSource.html#3e7802f6dbeb9da5adde539b6c1410e5">MIMEtype</a>(), mimeType) != 0) {<br>
<a name="l00483"></a>00483       <span class="keywordflow">if</span> (!wasAlreadyInitiated) <a class="code" href="http://www.live555.com/liveMedia/doxygen/html/AVIFileSink_8cpp.html#25e0e015bb23ec5ef03f7e9b9be9b7f4">subsession</a>-&gt;<a class="code" href="http://www.live555.com/liveMedia/doxygen/html/classMediaSubsession.html#d39152d0b5807cd59fb345b4308c6be5">deInitiate</a>();<br>
<a name="l00484"></a>00484       <span class="keywordflow">continue</span>;<br></div>
<div>Of course, I&#39;m not sure that I&#39;m doing everything ok, but it looks like a bug to me.</div>
<div> </div>
<div>Adam</div>
<div><br> </div>