<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=us-ascii">
<style>BODY{font:10pt Tahoma, Verdana, sans-serif}</style></head><body>
<div style="text-align: left;">I'm trying to code a server to stream live video and audio over RTSP/RTP
to VLC. The video stream plays fine, but I'm having trouble with the
audio stream; the VLC's faad module continuously complains about
problems in the bitstream. I suspect the problem may be that I'm not
packaging the raw AAC data as VLC or Live555 expects.<br><br>As I understand, the
two options for packaging AAC are ADIF and ADTS. I'm using the faac
library to do the encoding; it knows how to do ADTS and "raw", but VLC/Live555
didn't seem to be happy with either. What packaging does Live555 expect?<br><br>Do I need to describe the AAC packaging in the SDP description of the stream? If so, how? This is my current SDP:<br><br><dl class="codebox"><dd><code>m=audio 0 RTP/AVP 97<br>a=control: rtsp://192.168.0.153/input_1/audio<br>a=rtpmap: 97 mpeg4-generic/16000/1<br>a=fmtp:
97
streamtype=5;profile-level-id=16;mode=AAC-hbr;config=1408;sizeLength=13;indexLength=3;indexDeltaLength=3;constantDuration=1024</code></dd></dl><br> Thanks!<br><br>- Dave Beal<br> Cardinal Peak, LLC<br> Lafayette, Colorado USA<br></div><br><style></style><div style="font-family: Arial,Helvetica,sans-serif;"><br> <div style="vertical-align: bottom; display: inline;"><span style="font-size: 22px;"><b>Dave Beal</b></span></div><br> <span style="font-size: 12px;"><br>(303) 665-3962 x124 | <a href="mailto:dbeal@cardinalpeak.com" style="color: rgb(162, 30, 34);">Email</a> | <a href="http://www.cardinalpeak.com/vcard/dbeal.vcf" style="color: rgb(162, 30, 34);">vCard</a> | <a href="http://www.cardinalpeak.com/" style="color: rgb(162, 30, 34);">Web</a> | <a href="http://www.cardinalpeak.com/blog" style="color: rgb(162, 30, 34);">Company Blog</a> | <a href="http://www.linkedin.com/in/davebeal" style="color: rgb(162, 30, 34);">LinkedIn</a><br><br> </span><br></div></body></html>