mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #212, support publish aac adts raw stream. 2.0.31.
This commit is contained in:
parent
3d97048c3a
commit
e492fa5353
15 changed files with 620 additions and 86 deletions
|
@ -144,6 +144,25 @@ enum SrsCodecAudio
|
|||
SrsCodecAudioReservedDeviceSpecificSound = 15,
|
||||
};
|
||||
|
||||
/**
|
||||
* the FLV/RTMP supported audio sample rate.
|
||||
* Sampling rate. The following values are defined:
|
||||
* 0 = 5.5 kHz = 5512 Hz
|
||||
* 1 = 11 kHz = 11025 Hz
|
||||
* 2 = 22 kHz = 22050 Hz
|
||||
* 3 = 44 kHz = 44100 Hz
|
||||
*/
|
||||
enum SrsCodecAudioSampleRate
|
||||
{
|
||||
// set to the max value to reserved, for array map.
|
||||
SrsCodecAudioSampleRateReserved = 4,
|
||||
|
||||
SrsCodecAudioSampleRate5512 = 0,
|
||||
SrsCodecAudioSampleRate11025 = 1,
|
||||
SrsCodecAudioSampleRate22050 = 2,
|
||||
SrsCodecAudioSampleRate44100 = 3,
|
||||
};
|
||||
|
||||
/**
|
||||
* Annex E. The FLV File Format
|
||||
* @see SrsAvcAacCodec for the media stream codec.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue