wip: set bitrate at runtime

This commit is contained in:
galister
2025-02-07 19:00:34 +01:00
committed by xytovl
parent f24d51334b
commit e9f4b52b50
20 changed files with 170 additions and 10 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ public:
};
protected:
video_encoder_ffmpeg(uint8_t stream_idx, to_headset::video_stream_description::channels_t channels) :
wivrn::video_encoder(stream_idx, channels, true) {}
video_encoder_ffmpeg(uint8_t stream_idx, to_headset::video_stream_description::channels_t channels, double bitrate_multiplier) :
wivrn::video_encoder(stream_idx, channels, bitrate_multiplier, true) {}
virtual void push_frame(bool idr, std::chrono::steady_clock::time_point pts, uint8_t slot) = 0;