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

Method NewSubStream

test/brpc_rtmp_unittest.cpp:413–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411RtmpSubStreamCreator::~RtmpSubStreamCreator() {}
412
413void RtmpSubStreamCreator::NewSubStream(brpc::RtmpMessageHandler* message_handler,
414 butil::intrusive_ptr<brpc::RtmpStreamBase>* sub_stream) {
415 if (sub_stream) {
416 (*sub_stream).reset(new RtmpSubStream(message_handler));
417 }
418 return;
419}
420
421void RtmpSubStreamCreator::LaunchSubStream(
422 brpc::RtmpStreamBase* sub_stream,

Callers 1

RecreateMethod · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected