Working TS Input on current LTS

This commit is contained in:
Erik Zandvliet 2016-05-25 13:12:42 +02:00 committed by Thulinma
parent 3c4bc6a006
commit ef884845e0
2 changed files with 3 additions and 2 deletions

View file

@ -86,6 +86,7 @@ void parseThread(void * ignored) {
DTSC::Packet pack;
liveStream.getPacket(tid, pack);
if (pack && myMeta.tracks.count(tid)){
myProxy.continueNegotiate(tid, myMeta, true);
myProxy.bufferLivePacket(pack, myMeta);
}
@ -366,7 +367,7 @@ namespace Mist {
}
#ifdef TSLIVE_INPUT
void inputTS::serve() {
void inputTS::stream() {
cfgPointer = config;
globalStreamName = streamName;
unsigned long long threadCheckTimer = Util::bootSecs();

View file

@ -29,7 +29,7 @@ namespace Mist {
//Live tsinput does not have a header, so parseheader should do nothing
void parseHeader() { }
//In case of live TS Input, we override the default serve function
void serve();
void stream();
void finish();
#endif