mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #250, support h264 video for push mpegts over udp. 2.0.110
This commit is contained in:
parent
66fccdbbd1
commit
70c8fe13c4
15 changed files with 942 additions and 270 deletions
|
@ -53,7 +53,7 @@ enum SrsCodecAudioType
|
|||
// 5 = video info/command frame
|
||||
enum SrsCodecVideoAVCFrame
|
||||
{
|
||||
// set to the max value to reserved, for array map.
|
||||
// set to the zero to reserved, for array map.
|
||||
SrsCodecVideoAVCFrameReserved = 0,
|
||||
SrsCodecVideoAVCFrameReserved1 = 6,
|
||||
|
||||
|
@ -91,7 +91,7 @@ enum SrsCodecVideoAVCType
|
|||
// 7 = AVC
|
||||
enum SrsCodecVideo
|
||||
{
|
||||
// set to the max value to reserved, for array map.
|
||||
// set to the zero to reserved, for array map.
|
||||
SrsCodecVideoReserved = 0,
|
||||
SrsCodecVideoReserved1 = 1,
|
||||
SrsCodecVideoReserved2 = 8,
|
||||
|
@ -163,6 +163,22 @@ enum SrsCodecAudioSampleRate
|
|||
SrsCodecAudioSampleRate44100 = 3,
|
||||
};
|
||||
|
||||
/**
|
||||
* E.4.1 FLV Tag, page 75
|
||||
*/
|
||||
enum SrsCodecFlvTag
|
||||
{
|
||||
// set to the zero to reserved, for array map.
|
||||
SrsCodecFlvTagReserved = 0,
|
||||
|
||||
// 8 = audio
|
||||
SrsCodecFlvTagAudio = 8,
|
||||
// 9 = video
|
||||
SrsCodecFlvTagVideo = 9,
|
||||
// 18 = script data
|
||||
SrsCodecFlvTagScript = 18,
|
||||
};
|
||||
|
||||
/**
|
||||
* Annex E. The FLV File Format
|
||||
* @see SrsAvcAacCodec for the media stream codec.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue