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

Method OnVideoMessage

test/brpc_rtmp_unittest.cpp:122–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 void OnVideoMessage(brpc::RtmpVideoMessage* msg) {
123 // video data is ascii in UT, print it out.
124 LOG(INFO) << remote_side() << "|stream=" << stream_id()
125 << ": Got " << *msg << " data=" << msg->data;
126 }
127 void OnAudioMessage(brpc::RtmpAudioMessage* msg) {
128 // audio data is ascii in UT, print it out.
129 LOG(INFO) << remote_side() << "|stream=" << stream_id()

Callers

nothing calls this directly

Calls 1

remote_sideFunction · 0.85

Tested by

no test coverage detected