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:
stef
2026-06-15 17:48:13 -04:00
committed by GitHub
parent fafcee04f4
commit 0240a62fd9
10 changed files with 50 additions and 16 deletions
+1
View File
@@ -27,6 +27,7 @@ public:
virtual void encoder_open() = 0;
virtual void encoder_close() = 0;
virtual void set_bitrate(int bitrate) = 0;
virtual void request_keyframe() = 0;
void publisher_publish(int segment_num, uint32_t idx, VisionIpcBufExtra &extra, unsigned int flags, kj::ArrayPtr<capnp::byte> header, kj::ArrayPtr<capnp::byte> dat);