Based on Nekogram. Key additions: - Rebrand to FoxiGram (app name, APK name, applicationId com.foxigram.app) - Embedded Xray (VLESS+Reality) proxy client via JNI libxray.so - Bundled hidden one-tap proxies (LTE + WiFi), read-only in UI - Auto-restore proxy on restart, rebind to active network (LTE/WiFi) - Server credentials externalized to git-ignored XrayServers.java (+ template) - libxray Go source included; compiled .so, keystore, google-services.json ignored
39 lines
791 B
C++
39 lines
791 B
C++
#ifndef TGCALLS_AUDIO_DEVICE_MODULE_IOS
|
|
#define TGCALLS_AUDIO_DEVICE_MODULE_IOS
|
|
|
|
#include "platform/PlatformInterface.h"
|
|
|
|
namespace tgcalls {
|
|
|
|
class AudioDeviceModuleIOS : public DefaultWrappedAudioDeviceModule {
|
|
public:
|
|
AudioDeviceModuleIOS(webrtc::scoped_refptr<webrtc::AudioDeviceModule> impl) :
|
|
DefaultWrappedAudioDeviceModule(impl) {
|
|
}
|
|
|
|
virtual ~AudioDeviceModuleIOS() {
|
|
}
|
|
|
|
virtual int32_t StopPlayout() override {
|
|
return 0;
|
|
}
|
|
|
|
virtual int32_t StopRecording() override {
|
|
return 0;
|
|
}
|
|
|
|
virtual int32_t Terminate() override {
|
|
return 0;
|
|
}
|
|
|
|
virtual void Stop() override {
|
|
WrappedInstance()->StopPlayout();
|
|
WrappedInstance()->StopRecording();
|
|
WrappedInstance()->Terminate();
|
|
}
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|
|
|