1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for ExoPlayer, add av tag in flv header. 2.0.197

This commit is contained in:
winlin 2015-10-28 11:01:20 +08:00
parent 3b0bf1e10b
commit 50a7b9c1ff
2 changed files with 4 additions and 1 deletions

View file

@ -381,7 +381,7 @@ int SrsFlvEncoder::write_header()
char flv_header[] = {
'F', 'L', 'V', // Signatures "FLV"
(char)0x01, // File version (for example, 0x01 for FLV version 1)
(char)0x00, // 4, audio; 1, video; 5 audio+video.
(char)0x05, // 4, audio; 1, video; 5 audio+video.
(char)0x00, (char)0x00, (char)0x00, (char)0x09 // DataOffset UI32 The length of this header in bytes
};