| 2366 | } |
| 2367 | |
| 2368 | void 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 | |
| 2375 | void RtmpRetryingClientStream::OnSubStreamStop(RtmpStreamBase* sub_stream) { |
| 2376 | // Make sure the sub_stream is destroyed after this function. |