MCPcopy Create free account
hub / github.com/apache/brpc / OnRecreateTimer

Method OnRecreateTimer

src/brpc/rtmp.cpp:2368–2373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2366}
2367
2368void RtmpRetryingClientStream::OnRecreateTimer(void* arg) {
2369 // Hold the referenced stream.
2370 butil::intrusive_ptr<RtmpRetryingClientStream> ptr(
2371 static_cast<RtmpRetryingClientStream*>(arg), false/*not add ref*/);
2372 ptr->Recreate();
2373}
2374
2375void RtmpRetryingClientStream::OnSubStreamStop(RtmpStreamBase* sub_stream) {
2376 // Make sure the sub_stream is destroyed after this function.

Callers

nothing calls this directly

Calls 1

RecreateMethod · 0.80

Tested by

no test coverage detected