bugfixes hls input

This commit is contained in:
Ramkoemar 2017-07-25 14:46:03 +02:00 committed by Thulinma
parent 7ac6388dbb
commit 0f92664bb4
2 changed files with 267 additions and 82 deletions

View file

@ -9,6 +9,11 @@
#include <string>
#include <vector>
//#include <stdint.h>
#include <mist/http_parser.h>
#include <mist/downloader.h>
#define BUFFERTIME 10
@ -32,9 +37,15 @@ namespace Mist{
bool reload();
void addEntry(const std::string &filename, float duration, uint64_t &totalBytes);
bool loadURL(const std::string &loadUrl);
bool isSupportedFile(const std::string filename);
std::string uri; //link to the current playlistfile
std::string uri_root;
HTTP::URL root;
HTTP::Downloader DL;
std::string uri;
std::string uri_root;
std::string source;
const char *packetPtr;
@ -67,6 +78,7 @@ namespace Mist{
~inputHLS();
bool needsLock();
bool openStreamSource();
bool callback();
protected:
// Private Functions