| 67 | } |
| 68 | |
| 69 | bool StreamThreadRtcpBase::pauseStreaming(const int clientID) { |
| 70 | _thread.pauseThread(); |
| 71 | |
| 72 | doPauseStreaming(clientID); |
| 73 | |
| 74 | const StreamClient &client = _stream.getStreamClient(clientID); |
| 75 | SI_LOG_INFO("Stream: %d, Pause %s stream to %s:%d", _stream.getStreamID(), |
| 76 | _protocol.c_str(), client.getIPAddressOfStream().c_str(), getStreamSocketPort(clientID)); |
| 77 | return true; |
| 78 | } |
| 79 | |
| 80 | bool StreamThreadRtcpBase::restartStreaming(const int clientID) { |
| 81 | _thread.restartThread(); |
nothing calls this directly
no test coverage detected