Make first frame for each connection into I frame

This commit is contained in:
dijunkun
2023-10-07 15:32:06 +08:00
parent bf4f5ca87d
commit e2e2fb53ae
3 changed files with 10 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ class PeerConnection {
std::unique_ptr<VideoDecoder> video_decoder_ = nullptr;
bool hardware_accelerated_encode_ = false;
bool hardware_accelerated_decode_ = false;
bool b_force_i_frame_ = false;
};
#endif