| 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. |
| 86 | LOG(INFO) << remote_side() << "|stream=" << stream_id() |
| 87 | << ": Got " << *msg << " data=" << msg->data; |
| 88 | } |
| 89 | private: |
| 90 | int _called_on_stop; |
| 91 | int _called_on_first_message; |
nothing calls this directly
no test coverage detected