Set SRT input to live correctly

This commit is contained in:
Thulinma 2023-06-09 14:43:22 +02:00
parent f6b0bff646
commit e66d66e59d

View file

@ -51,6 +51,7 @@ namespace Mist{
inputTSSRT::inputTSSRT(Util::Config *cfg, Socket::SRTConnection s) : Input(cfg){ inputTSSRT::inputTSSRT(Util::Config *cfg, Socket::SRTConnection s) : Input(cfg){
rawIdx = INVALID_TRACK_ID; rawIdx = INVALID_TRACK_ID;
lastRawPacket = 0; lastRawPacket = 0;
assembler.setLive();
capa["name"] = "TSSRT"; capa["name"] = "TSSRT";
capa["desc"] = "This input allows for processing MPEG2-TS-based SRT streams. Use mode=listener " capa["desc"] = "This input allows for processing MPEG2-TS-based SRT streams. Use mode=listener "
"for push input."; "for push input.";