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

Method pauseStreaming

src/output/StreamThreadRtcpBase.cpp:69–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69bool 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
80bool StreamThreadRtcpBase::restartStreaming(const int clientID) {
81 _thread.restartThread();

Callers

nothing calls this directly

Calls 3

pauseThreadMethod · 0.80
getIPAddressOfStreamMethod · 0.80
getStreamIDMethod · 0.45

Tested by

no test coverage detected