mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine docs, add TURN/STUN rfc.
This commit is contained in:
parent
3ec9df6578
commit
ce034c3556
15 changed files with 20 additions and 16 deletions
|
@ -1317,7 +1317,7 @@ int SrsFormat::audio_aac_demux(SrsBuffer* stream, int64_t timestamp)
|
|||
}
|
||||
|
||||
// Raw AAC frame data in UI8 []
|
||||
// 6.3 Raw Data, aac-iso-13818-7.pdf, page 28
|
||||
// 6.3 Raw Data, ISO_IEC_13818-7-AAC-2004.pdf, page 28
|
||||
if ((ret = audio->add_sample(stream->data() + stream->pos(), stream->size() - stream->pos())) != ERROR_SUCCESS) {
|
||||
srs_error("aac add sample failed. ret=%d", ret);
|
||||
return ret;
|
||||
|
|
|
@ -395,7 +395,7 @@ enum SrsAacProfile
|
|||
{
|
||||
SrsAacProfileReserved = 3,
|
||||
|
||||
// @see 7.1 Profiles, aac-iso-13818-7.pdf, page 40
|
||||
// @see 7.1 Profiles, ISO_IEC_13818-7-AAC-2004.pdf, page 40
|
||||
SrsAacProfileMain = 0,
|
||||
SrsAacProfileLC = 1,
|
||||
SrsAacProfileSSR = 2,
|
||||
|
|
|
@ -2887,7 +2887,7 @@ int SrsTsMessageCache::do_cache_aac(SrsAudioFrame* frame)
|
|||
|
||||
// AAC-ADTS
|
||||
// 6.2 Audio Data Transport Stream, ADTS
|
||||
// in aac-iso-13818-7.pdf, page 26.
|
||||
// in ISO_IEC_13818-7-AAC-2004.pdf, page 26.
|
||||
// fixed 7bytes header
|
||||
uint8_t adts_header[7] = {0xff, 0xf9, 0x00, 0x00, 0x00, 0x0f, 0xfc};
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue