<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite"><div dir="ltr"><span style="font-family: arial, sans-serif; font-size: 13px;">But I can't use AAC.</span><br style="font-family: arial, sans-serif; font-size: 13px;">

<br style="font-family: arial, sans-serif; font-size: 13px;"><span style="font-family: arial, sans-serif; font-size: 13px;">I tried to use ADTSAudioFileSource and MPEG4GenericRTPSink but I get a crackling sound instead (Noise) when I try to capture it.</span><br style="font-family: arial, sans-serif; font-size: 13px;">

<br style="font-family: arial, sans-serif; font-size: 13px;"><p style="font-family: arial, sans-serif; font-size: 13px;">sessionStateAAC.source = ADTSAudioFileSource::createNew(*env, inputFileNameAAC);</p></div></blockquote>Is "inputFileNameAAC" really an ADTS-format AAC file?  To test this, copy it to a computer that's running the "LIVE555 Media Server" <<a href="http://www.live555.com/mediaServer/">http://www.live555.com/mediaServer/</a>>, and rename it to have a ".aac" filename extension (e.g., "test.aac").  Then, try streaming it from the "LIVE555 Media Server".  If this doesn't work, then your file is not an ADTS-format AAC file (and that's your problem).<br></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>