mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-10-01 03:53:41 +08:00
encoder: add ability to request keyframes from livestream encoders (#38172)
* add param that requests keyframe * set keyframe request to false on cleanup * clean * timing and errors * remove other changes * clean diff * clean diff * clean up live adaptation params and functions * better function names * fix syntax * remove unused var * clean diff
This commit is contained in:
@@ -22,6 +22,7 @@ public:
|
||||
void encoder_open();
|
||||
void encoder_close();
|
||||
void set_bitrate(int bitrate);
|
||||
void request_keyframe();
|
||||
|
||||
private:
|
||||
int segment_num = -1;
|
||||
|
||||
Reference in New Issue
Block a user