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

Function FlvVideoFrameType2Str

src/brpc/rtmp.cpp:318–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318const char* FlvVideoFrameType2Str(FlvVideoFrameType t) {
319 switch (t) {
320 case FLV_VIDEO_FRAME_KEYFRAME: return "keyframe";
321 case FLV_VIDEO_FRAME_INTERFRAME: return "interframe";
322 case FLV_VIDEO_FRAME_DISPOSABLE_INTERFRAME: return "disposable interframe";
323 case FLV_VIDEO_FRAME_GENERATED_KEYFRAME: return "generated keyframe";
324 case FLV_VIDEO_FRAME_INFOFRAME: return "info/command frame";
325 }
326 return "Unknown FlvVideoFrameType";
327}
328
329const char* FlvVideoCodec2Str(FlvVideoCodec id) {
330 switch (id) {

Callers 1

rtmp.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected