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

Method OnVideoMessage

test/brpc_rtmp_unittest.cpp:77–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 ++_called_on_stop;
76 }
77 void OnVideoMessage(brpc::RtmpVideoMessage* msg) {
78 ++_nvideomsg;
79 // video data is ascii in UT, print it out.
80 LOG(INFO) << remote_side() << "|stream=" << stream_id()
81 << ": Got " << *msg << " data=" << msg->data;
82 }
83 void OnAudioMessage(brpc::RtmpAudioMessage* msg) {
84 ++_naudiomsg;
85 // 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