1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Automatic AV bitrate management

Makes progress on #2134
This commit is contained in:
tux3 2015-11-06 23:05:51 +01:00
parent 46fa4def20
commit 7dc608818c
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -583,6 +583,7 @@ void CoreAV::bitrateCallback(ToxAV* toxav, uint32_t friendNum, uint32_t arate, u
} }
qDebug() << "Bitrate with"<<friendNum<<" is now "<<arate<<"/"<<vrate; qDebug() << "Bitrate with"<<friendNum<<" is now "<<arate<<"/"<<vrate;
toxav_bit_rate_set(toxav, friendNum, arate, vrate, nullptr);
} }
void CoreAV::audioFrameCallback(ToxAV *, uint32_t friendNum, const int16_t *pcm, void CoreAV::audioFrameCallback(ToxAV *, uint32_t friendNum, const int16_t *pcm,