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

Method restartStreaming

src/output/StreamThreadRtcpBase.cpp:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80bool StreamThreadRtcpBase::restartStreaming(const int clientID) {
81 _thread.restartThread();
82
83 doRestartStreaming(clientID);
84
85 const StreamClient &client = _stream.getStreamClient(clientID);
86 SI_LOG_INFO("Stream: %d, Restart %s stream to %s:%d", _stream.getStreamID(),
87 _protocol.c_str(), client.getIPAddressOfStream().c_str(), getStreamSocketPort(clientID));
88 return true;
89}
90
91bool StreamThreadRtcpBase::threadExecuteFunction() {
92 // check do we need to update Device monitor signals

Callers

nothing calls this directly

Calls 3

restartThreadMethod · 0.80
getIPAddressOfStreamMethod · 0.80
getStreamIDMethod · 0.45

Tested by

no test coverage detected