[Live-devel] AMRInterleaver has MIMEType() "binary/octed-stream" and InitiateByMediaType() fails ?

Adam Mich adammich2 at gmail.com
Sat May 29 11:03:27 PDT 2010


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


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

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100529/74fd1775/attachment.html>


More information about the live-devel mailing list