MCPcopy Create free account
hub / github.com/Barracuda09/SATPI / ~StreamThreadRtcp

Method ~StreamThreadRtcp

src/output/StreamThreadRtcp.cpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 StreamThreadRtcpBase("RTCP/UDP", stream) {}
36
37StreamThreadRtcp::~StreamThreadRtcp() {
38 _thread.terminateThread();
39 const int streamID = _stream.getStreamID();
40 const StreamClient &client = _stream.getStreamClient(_clientID);
41 SI_LOG_INFO("Stream: %d, Destroy %s stream to %s:%d", streamID,
42 _protocol.c_str(), client.getIPAddressOfStream().c_str(), getStreamSocketPort(_clientID));
43
44 _stream.getStreamClient(_clientID).getRtcpSocketAttr().closeFD();
45}
46
47// =============================================================================
48// -- output::StreamThreadRtcpBase --------------------------------------------

Callers

nothing calls this directly

Calls 4

getIPAddressOfStreamMethod · 0.80
terminateThreadMethod · 0.45
getStreamIDMethod · 0.45
closeFDMethod · 0.45

Tested by

no test coverage detected