G711支持多种规格

This commit is contained in:
xiongziliang
2020-04-18 22:13:11 +08:00
parent 5c3418a412
commit bacf8f100b
17 changed files with 203 additions and 197 deletions

View File

@@ -42,8 +42,8 @@ void MediaSink::addTrack(const Track::Ptr &track_in) {
if (_allTrackReady) {
//运行至这里说明Track状态由未就绪切换为已就绪状态,那么这帧就不应该丢弃
onTrackFrame(frame);
} else {
ErrorL << "some track is unreadydrop frame of: " << frame->getCodecName();
} else if(frame->keyFrame()){
WarnL << "some track is unreadydrop key frame of: " << frame->getCodecName();
}
}));
}