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

Function FlvSoundType2Str

src/brpc/rtmp.cpp:391–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391const char* FlvSoundType2Str(FlvSoundType t) {
392 switch (t) {
393 case FLV_SOUND_MONO: return "mono";
394 case FLV_SOUND_STEREO: return "stereo";
395 }
396 return "Unknown FlvSoundType";
397}
398
399std::ostream& operator<<(std::ostream& os, const RtmpAudioMessage& msg) {
400 return os << "AudioMessage{timestamp=" << msg.timestamp

Callers 1

rtmp.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected