Skip to content

Commit 50a7b9c

Browse files
committed
for ExoPlayer, add av tag in flv header. 2.0.197
1 parent 3b0bf1e commit 50a7b9c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ Remark:
336336

337337
## History
338338

339+
* v2.0, 2015-10-28, for [ExoPlayer #828][exo #828], add av tag in flv header. 2.0.197
339340
* v2.0, 2015-10-27, for [#512][bug #512] partical hotfix the hls pure audio. 2.0.196
340341
* <strong>v2.0, 2015-10-08, [2.0 alpha2(2.0.195)][r2.0a2] released. 89358 lines.</strong>
341342
* 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
11991200
[bug #512]: https://github.com/simple-rtmp-server/srs/issues/512
12001201
[bug #xxxxxxxxxx]: https://github.com/simple-rtmp-server/srs/issues/xxxxxxxxxx
12011202

1203+
[exo #828]: https://github.com/google/ExoPlayer/pull/828
1204+
12021205
[r2.0a2]: https://github.com/simple-rtmp-server/srs/releases/tag/v2.0-a2
12031206
[r2.0a1]: https://github.com/simple-rtmp-server/srs/releases/tag/2.0a1
12041207
[r2.0a0]: https://github.com/simple-rtmp-server/srs/releases/tag/2.0a0

trunk/src/kernel/srs_kernel_flv.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ int SrsFlvEncoder::write_header()
381381
char flv_header[] = {
382382
'F', 'L', 'V', // Signatures "FLV"
383383
(char)0x01, // File version (for example, 0x01 for FLV version 1)
384-
(char)0x00, // 4, audio; 1, video; 5 audio+video.
384+
(char)0x05, // 4, audio; 1, video; 5 audio+video.
385385
(char)0x00, (char)0x00, (char)0x00, (char)0x09 // DataOffset UI32 The length of this header in bytes
386386
};
387387

0 commit comments

Comments
 (0)