remove video bitrate hack following toxcore fix

This commit is contained in:
Green Sky 2024-11-09 14:21:24 +01:00
parent 326d72a965
commit 9bf9753bd1
No known key found for this signature in database

View File

@ -103,7 +103,7 @@ struct ToxAVCallVideoSink : public FrameStream2SinkI<SDLVideoFrame> {
ToxAVI& _toxav; ToxAVI& _toxav;
// bitrate for enabled state // bitrate for enabled state
uint32_t _video_bitrate {2}; // HACK: hardcode to 2mbits (toxap wrongly multiplies internally by 1000) uint32_t _video_bitrate {2000};
uint32_t _fid; uint32_t _fid;
std::shared_ptr<stream_type> _writer; std::shared_ptr<stream_type> _writer;