完善rtmp关键帧与配置帧判断逻辑

This commit is contained in:
xia-chu
2023-07-22 19:32:01 +08:00
parent a86398b6db
commit 780a1eb9fc
5 changed files with 26 additions and 19 deletions

View File

@@ -169,7 +169,9 @@ public:
}
void clear();
// video config frame和key frame都返回true
bool isVideoKeyFrame() const;
// aac config或h264/h265 config
bool isCfgFrame() const;
int getRtmpCodecId() const;
int getAudioSampleRate() const;