mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #103, support all aac sample rate, add detail codec logs.
This commit is contained in:
parent
f53abfa1d1
commit
aefff75d08
6 changed files with 74 additions and 14 deletions
|
@ -36,7 +36,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
// 1 = AAC raw
|
||||
enum SrsCodecAudioType
|
||||
{
|
||||
SrsCodecAudioTypeReserved = -1,
|
||||
// set to the max value to reserved, for array map.
|
||||
SrsCodecAudioTypeReserved = 2,
|
||||
|
||||
SrsCodecAudioTypeSequenceHeader = 0,
|
||||
SrsCodecAudioTypeRawData = 1,
|
||||
};
|
||||
|
@ -51,7 +53,9 @@ enum SrsCodecAudioType
|
|||
// 5 = video info/command frame
|
||||
enum SrsCodecVideoAVCFrame
|
||||
{
|
||||
// set to the max value to reserved, for array map.
|
||||
SrsCodecVideoAVCFrameReserved = 0,
|
||||
SrsCodecVideoAVCFrameReserved1 = 6,
|
||||
|
||||
SrsCodecVideoAVCFrameKeyFrame = 1,
|
||||
SrsCodecVideoAVCFrameInterFrame = 2,
|
||||
|
@ -68,7 +72,8 @@ enum SrsCodecVideoAVCFrame
|
|||
// not required or supported)
|
||||
enum SrsCodecVideoAVCType
|
||||
{
|
||||
SrsCodecVideoAVCTypeReserved = -1,
|
||||
// set to the max value to reserved, for array map.
|
||||
SrsCodecVideoAVCTypeReserved = 3,
|
||||
|
||||
SrsCodecVideoAVCTypeSequenceHeader = 0,
|
||||
SrsCodecVideoAVCTypeNALU = 1,
|
||||
|
@ -86,7 +91,10 @@ enum SrsCodecVideoAVCType
|
|||
// 7 = AVC
|
||||
enum SrsCodecVideo
|
||||
{
|
||||
// set to the max value to reserved, for array map.
|
||||
SrsCodecVideoReserved = 0,
|
||||
SrsCodecVideoReserved1 = 1,
|
||||
SrsCodecVideoReserved2 = 8,
|
||||
|
||||
SrsCodecVideoSorensonH263 = 2,
|
||||
SrsCodecVideoScreenVideo = 3,
|
||||
|
@ -117,6 +125,9 @@ enum SrsCodecVideo
|
|||
// Speex is supported in Flash Player 10 and higher.
|
||||
enum SrsCodecAudio
|
||||
{
|
||||
// set to the max value to reserved, for array map.
|
||||
SrsCodecAudioReserved1 = 16,
|
||||
|
||||
SrsCodecAudioLinearPCMPlatformEndian = 0,
|
||||
SrsCodecAudioADPCM = 1,
|
||||
SrsCodecAudioMP3 = 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue