View Single Post
  #1  
Old 10-20-2011, 01:27 AM
scame scame is offline
Junior Member
 
Join Date: Oct 2011
Posts: 1
scame is on a distinguished road
Question

Problem with AAC streaming via RTP: Video is playing, but not audio


I have flv files that contain audio tags with a aac raw data. Each audio tag has one array of the aac raw data. Raw data have different sizes. I want send it via RTP. I add 13-bits size AU header. It is first bits of the 2 bytes. Last 3 bits is zero.

audioSpecificConfig is 12 08. 0001 0 010 - AAL LC.
My SDP are:
Code:
   m=audio 0 RTP/AVP 96
   a=rtpmap:96 mpeg4-generic/44100/2
   a=fmtp:96 profile-level-id=16; mode=AAC-hbr;
   config=1208; sizeLength=13; indexLength=3;
   indexDeltaLength=3;
I send RTP packets with audio payload grouping RTP packets with video payload. Player play video and don't play audio. Where is a problem? Is not valid audio payload header?
Reply With Quote