You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 4, 2019. It is now read-only.
With the new toxAV, we receive a call back that actually suggests the bitrate we should move to. However the call back will never suggest a higher bit rate. So we will need to set a timer that will set the bit rate higher after it has been lowered. If we move it to high, toxAV will suggest a more appropriate bit rate.
So for example, we start a call with 48kb/s bit rate audio.
ToxAV callback with 24kb/s for audio.
ObjcTox sets bitrate to 24kb/s for audio.
ObjcTox sets timer to attempt to move bitrate back to 48 after 3 minutes.
3 minutes pass.. ObjcTox sets bitrate to 48.
ToxAV callback with 36 kb/s.
ObjcTox sets bitrate to 36 kb/s
@Chuongv what will happen when we'll set bit rate to too high value? Would toxav immediately lower it? In this case we can try to increase it really often (like 10 seconds maybe?).
When network quality goes bad, objcTox should be either lower the resolution or ask toxav to lower the video bitrate.
The text was updated successfully, but these errors were encountered: