HLS input improvements:

- Added isOpen flag to the SegmentDownloader, so that we do not parse the data remaining from parseStreamHeader
- In inputHLS::firstSegment, use streamIsLive to determine vod vs live, rather than the size of userSelect
- Replaced check against 'smaller than zero', which always fails due to overflow of unsigned int
- Added print before downloading main playlist
This commit is contained in:
Marco van Dijk 2021-09-30 13:08:06 +02:00 committed by Thulinma
parent f8251cc115
commit 01f11dcfda
2 changed files with 9 additions and 2 deletions

View file

@ -52,6 +52,7 @@ namespace Mist{
size_t encOffset;
unsigned char tmpIvec[16];
mbedtls_aes_context aes;
bool isOpen;
};
class Playlist{