MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / CHlsWorker

Method CHlsWorker

Modules/HttpServer/HlsWorker.cpp:16–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 //////////////////////////////////////////////////////////////////////////
15
16 CHlsWorker::CHlsWorker(string strCode)
17 : m_strCode(strCode)
18 , m_nType(0)
19 , m_nID(0)
20 , m_pLive(nullptr){
21 m_nLastVistTime = time(NULL);
22
23 m_pLive = LiveClient::GetWorker(strCode);
24 if(m_pLive)
25 m_pLive->AddHandle(this, HandleType::ts_handle, 1);
26
27 m_fall = fopen("all.ts","wb");
28 }
29
30 CHlsWorker::~CHlsWorker()
31 {

Callers

nothing calls this directly

Calls 3

GetWorkerFunction · 0.85
timeFunction · 0.50
AddHandleMethod · 0.45

Tested by

no test coverage detected