mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-10 14:51:16 +00:00
2.2
- Refactored audio I/O to allow sharing a common context between input and output, for those OSes that require this - Rewritten periodic operation handling to use a "run loop" thingy instead of an ugly loop formerly known as tick thread - Fixed a bunch of compiler warnings (closes #13) - Added automake so you no longer need to use the GYP file for standalone builds (closes #43)
This commit is contained in:
@@ -467,7 +467,7 @@ void VoIPGroupController::SendUdpPing(shared_ptr<Endpoint> endpoint){
|
||||
void VoIPGroupController::SetNetworkType(int type){
|
||||
networkType=type;
|
||||
UpdateDataSavingState();
|
||||
UpdateAudioBitrate();
|
||||
UpdateAudioBitrateLimit();
|
||||
string itfName=udpSocket->GetLocalInterfaceInfo(NULL, NULL);
|
||||
if(itfName!=activeNetItfName){
|
||||
udpSocket->OnActiveInterfaceChanged();
|
||||
@@ -544,7 +544,7 @@ void VoIPGroupController::SendRelayPings(){
|
||||
|
||||
void VoIPGroupController::OnAudioOutputReady(){
|
||||
encoder->SetDTX(true);
|
||||
audioMixer->SetOutput((unique_ptr<MediaStreamItf>&)audioOutput);
|
||||
audioMixer->SetOutput(audioOutput);
|
||||
audioMixer->SetEchoCanceller(echoCanceller);
|
||||
audioMixer->Start();
|
||||
audioOutput->Start();
|
||||
|
||||
Reference in New Issue
Block a user