Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Streaming servers (http://stream-recorder.com/forum/forumdisplay.php?f=27)
-   -  

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

(http://stream-recorder.com/forum/showthread.php?t=10248)

scame 10-20-2011 01:27 AM

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?


All times are GMT -6. The time now is 06:15 PM.