MCPcopy Create free account
hub / github.com/Barracuda09/SATPI / threadEntry

Method threadEntry

src/RtspServer.cpp:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void RtspServer::threadEntry() {
46 SI_LOG_INFO("Setting up RTSP server");
47
48 for (;;) {
49 // call poll with a timeout of 500 ms
50 poll(500);
51
52 _streamManager.checkForSessionTimeout();
53 }
54}
55
56void RtspServer::methodSetup(Stream &stream, int clientID, std::string &htmlBody) {
57 StreamClient &client = stream.getStreamClient(clientID);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected