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

@ -463,6 +463,9 @@ srs_error_t SrsHlsMuxer::segment_open()
return srs_error_wrap(err, "open hls muxer");
}
// reset the context for a new ts start.
context->reset();
return err;
}

View file

@ -157,6 +157,7 @@ private:
// The key and iv.
unsigned char key[16];
unsigned char iv[16];
// The underlayer file writer.
SrsFileWriter* writer;
private:
int _sequence_no;