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

Fix HLS no PMT/PAT bug.

This commit is contained in:
winlin 2019-05-07 07:40:19 +08:00
parent 1d3afa5ab9
commit ffe391aa49
2 changed files with 5 additions and 1 deletions

View file

@ -462,6 +462,9 @@ srs_error_t SrsHlsMuxer::segment_open()
if ((err = current->writer->open(tmp_file)) != srs_success) {
return srs_error_wrap(err, "open hls muxer");
}
// reset the context for a new ts start.
context->reset();
return err;
}