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:
parent
3b0bf1e10b
commit
50a7b9c1ff
2 changed files with 4 additions and 1 deletions
|
@ -336,6 +336,7 @@ Remark:
|
||||||
|
|
||||||
## History
|
## History
|
||||||
|
|
||||||
|
* v2.0, 2015-10-28, for [ExoPlayer #828][exo #828], add av tag in flv header. 2.0.197
|
||||||
* v2.0, 2015-10-27, for [#512][bug #512] partical hotfix the hls pure audio. 2.0.196
|
* v2.0, 2015-10-27, for [#512][bug #512] partical hotfix the hls pure audio. 2.0.196
|
||||||
* <strong>v2.0, 2015-10-08, [2.0 alpha2(2.0.195)][r2.0a2] released. 89358 lines.</strong>
|
* <strong>v2.0, 2015-10-08, [2.0 alpha2(2.0.195)][r2.0a2] released. 89358 lines.</strong>
|
||||||
* v2.0, 2015-10-04, for [#448][bug #448] fix the bug of response of http hooks. 2.0.195
|
* v2.0, 2015-10-04, for [#448][bug #448] fix the bug of response of http hooks. 2.0.195
|
||||||
|
@ -1199,6 +1200,8 @@ Winlin
|
||||||
[bug #512]: https://github.com/simple-rtmp-server/srs/issues/512
|
[bug #512]: https://github.com/simple-rtmp-server/srs/issues/512
|
||||||
[bug #xxxxxxxxxx]: https://github.com/simple-rtmp-server/srs/issues/xxxxxxxxxx
|
[bug #xxxxxxxxxx]: https://github.com/simple-rtmp-server/srs/issues/xxxxxxxxxx
|
||||||
|
|
||||||
|
[exo #828]: https://github.com/google/ExoPlayer/pull/828
|
||||||
|
|
||||||
[r2.0a2]: https://github.com/simple-rtmp-server/srs/releases/tag/v2.0-a2
|
[r2.0a2]: https://github.com/simple-rtmp-server/srs/releases/tag/v2.0-a2
|
||||||
[r2.0a1]: https://github.com/simple-rtmp-server/srs/releases/tag/2.0a1
|
[r2.0a1]: https://github.com/simple-rtmp-server/srs/releases/tag/2.0a1
|
||||||
[r2.0a0]: https://github.com/simple-rtmp-server/srs/releases/tag/2.0a0
|
[r2.0a0]: https://github.com/simple-rtmp-server/srs/releases/tag/2.0a0
|
||||||
|
|
|
@ -381,7 +381,7 @@ int SrsFlvEncoder::write_header()
|
||||||
char flv_header[] = {
|
char flv_header[] = {
|
||||||
'F', 'L', 'V', // Signatures "FLV"
|
'F', 'L', 'V', // Signatures "FLV"
|
||||||
(char)0x01, // File version (for example, 0x01 for FLV version 1)
|
(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
|
(char)0x00, (char)0x00, (char)0x00, (char)0x09 // DataOffset UI32 The length of this header in bytes
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue