Working TS Input on current LTS
This commit is contained in:
parent
3c4bc6a006
commit
ef884845e0
2 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue