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

Method OnAudioMessage

test/brpc_rtmp_unittest.cpp:127–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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()
130 << ": Got " << *msg << " data=" << msg->data;
131 }
132private:
133 int _called_on_stop;
134 int _called_on_first_message;

Callers

nothing calls this directly

Calls 1

remote_sideFunction · 0.85

Tested by

no test coverage detected