mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Disable buggy automatic bitrate adjustements
For some users on poor connections, toxav would suggest lower and lower bitratres until reaching zero and disabling audio/video entirely, toxav would then not raise the bitrate back and the only way to re-enable audio/video would have been to change A/V sources or restart the call We now log toxav's recommendation, but ignore it
This commit is contained in:
parent
7639a0cb7a
commit
db52ef6e6a
|
@ -594,8 +594,7 @@ void CoreAV::bitrateCallback(ToxAV* toxav, uint32_t friendNum, uint32_t arate, u
|
|||
Q_ARG(uint32_t, arate), Q_ARG(uint32_t, vrate), Q_ARG(void*, _self));
|
||||
}
|
||||
|
||||
qDebug() << "Bitrate with"<<friendNum<<" is now "<<arate<<"/"<<vrate;
|
||||
toxav_bit_rate_set(toxav, friendNum, arate, vrate, nullptr);
|
||||
qDebug() << "Recommended bitrate with"<<friendNum<<" is now "<<arate<<"/"<<vrate<<", ignoring it";
|
||||
}
|
||||
|
||||
void CoreAV::audioFrameCallback(ToxAV *, uint32_t friendNum, const int16_t *pcm,
|
||||
|
|
Loading…
Reference in New Issue
Block a user