mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 11:41:44 +08:00
hls m3u8文件直接通过内存读写
This commit is contained in:
@@ -70,7 +70,7 @@ void HlsMaker::makeIndexFile(bool eof) {
|
||||
snprintf(file_content, sizeof(file_content), "#EXT-X-ENDLIST\n");
|
||||
m3u8.append(file_content);
|
||||
}
|
||||
onWriteHls(m3u8.data(), m3u8.size());
|
||||
onWriteHls(m3u8);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user