forked from Green-Sky/tomato
stop gap toxav video sending interval
This commit is contained in:
@@ -647,7 +647,7 @@ Screen* MainScreen::tick(float time_delta, bool& quit) {
|
||||
//const float av_interval = std::pow(tav.toxavIterationInterval(), 1.18)/1000.f;
|
||||
const float av_interval = tav.toxavIterationInterval()/1000.f;
|
||||
|
||||
tavvoip.tick();
|
||||
const float av_voip_interval = tavvoip.tick();
|
||||
#endif
|
||||
|
||||
tcm.iterate(time_delta); // compute
|
||||
@@ -694,6 +694,10 @@ Screen* MainScreen::tick(float time_delta, bool& quit) {
|
||||
_min_tick_interval,
|
||||
av_interval
|
||||
);
|
||||
_min_tick_interval = std::min<float>(
|
||||
_min_tick_interval,
|
||||
av_voip_interval
|
||||
);
|
||||
#endif
|
||||
|
||||
//std::cout << "MS: min tick interval: " << _min_tick_interval << "\n";
|
||||
|
||||
Reference in New Issue
Block a user