| 43 | } |
| 44 | |
| 45 | void 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 | |
| 56 | void RtspServer::methodSetup(Stream &stream, int clientID, std::string &htmlBody) { |
| 57 | StreamClient &client = stream.getStreamClient(clientID); |
nothing calls this directly
no test coverage detected