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

Merge branch 'master' of github.com:winlinvip/simple-rtmp-server

This commit is contained in:
winlin 2014-07-05 09:32:13 +08:00
commit 010eb09a30
2 changed files with 6 additions and 40 deletions

View file

@ -817,7 +817,10 @@ int SrsHlsMuxer::_refresh_m3u8(int& fd, string m3u8_file)
0x23, 0x45, 0x58, 0x54, 0x4d, 0x33, 0x55, 0xa,
// #EXT-X-VERSION:3\n
0x23, 0x45, 0x58, 0x54, 0x2d, 0x58, 0x2d, 0x56, 0x45, 0x52,
0x53, 0x49, 0x4f, 0x4e, 0x3a, 0x33, 0xa
0x53, 0x49, 0x4f, 0x4e, 0x3a, 0x33, 0xa,
// #EXT-X-ALLOW-CACHE:NO
0x23, 0x45, 0x58, 0x54, 0x2d, 0x58, 0x2d, 0x41, 0x4c, 0x4c,
0x4f, 0x57, 0x2d, 0x43, 0x41, 0x43, 0x48, 0x45, 0x3a, 0x4e, 0x4f, 0x0a
};
if (::write(fd, header, sizeof(header)) != sizeof(header)) {
ret = ERROR_HLS_WRITE_FAILED;