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

Method OnVideoMessage

test/brpc_rtmp_unittest.cpp:301–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299 ++_called_on_stop;
300 }
301 void OnVideoMessage(brpc::RtmpVideoMessage* msg) {
302 ++_nvideomsg;
303 // video data is ascii in UT, print it out.
304 LOG(INFO) << remote_side() << "|stream=" << stream_id()
305 << ": Got " << *msg << " data=" << msg->data;
306 }
307 void OnAudioMessage(brpc::RtmpAudioMessage* msg) {
308 ++_naudiomsg;
309 // audio data is ascii in UT, print it out.

Callers

nothing calls this directly

Calls 1

remote_sideFunction · 0.85

Tested by

no test coverage detected