Disable FEC by default

This commit is contained in:
dijunkun
2023-11-16 01:15:09 -08:00
parent 4ec26a1fd7
commit bd2722f408
4 changed files with 5 additions and 5 deletions

View File

@@ -38,9 +38,9 @@ class OpenH264Encoder : public VideoEncoder {
private:
int frame_width_ = 1280;
int frame_height_ = 720;
int key_frame_interval_ = 1;
int key_frame_interval_ = 300;
int target_bitrate_ = 1000;
int max_bitrate_ = 500000;
int max_bitrate_ = 2500000;
int max_payload_size_ = 1400;
int max_frame_rate_ = 30;
std::vector<std::vector<uint8_t>> encoded_packets_;