Skip to content

Commit

Permalink
fmtp aac-hbr AU header parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ireader committed Aug 23, 2017
1 parent 1e0e026 commit 105fba8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions librtp/payload/rtp-mpeg4-generic-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ static int rtp_mpeg4_generic_pack_input(void* pack, const void* data, int bytes,

for (size = bytes; bytes > 0; ++packer->pkt.rtp.seq)
{
// 3.3.6. High Bit-rate AAC
// SDP fmtp: sizeLength=13; indexLength=3; indexDeltaLength = 3;
header[0] = 0;
header[1] = 16; // 16-bits AU headers-lenght
header[2] = (uint8_t)(size >> 5);
Expand Down

0 comments on commit 105fba8

Please sign in to comment.