HLS input converted to URIReader, temporarily disabled clearkey encryptionHLS input fixes:

- Re-enabled file-based input
- Added support for clearkey-encrypted file-based input
- Converted to HTTP::URIReader for all input types
- Both live and VoD functional
 support
This commit is contained in:
Thulinma 2020-09-07 17:13:00 +02:00
parent 61b0a90598
commit 19f1df18aa
3 changed files with 224 additions and 157 deletions

View file

@ -250,7 +250,7 @@ namespace TS{
uint64_t firstTime = 0xffffffffffffffffull, lastTime = 0;
for (std::map<size_t, uint32_t>::const_iterator it = pidToCodec.begin();
it != pidToCodec.end(); it++){
if (!hasPacket(it->first)){
if (!hasPacket(it->first) || !outPackets.count(it->first) || !outPackets.at(it->first).size()){
missing++;
}else{
if (outPackets.at(it->first).front().getTime() < firstTime){