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
16 lines
533 B
C++
16 lines
533 B
C++
#include "VideoCaptureInterface.h"
|
|
|
|
#include "VideoCaptureInterfaceImpl.h"
|
|
#include "tgnet/FileLog.h"
|
|
|
|
namespace tgcalls {
|
|
|
|
std::unique_ptr<VideoCaptureInterface> VideoCaptureInterface::Create(
|
|
std::shared_ptr<Threads> threads, std::string deviceId, bool isScreenCapture,
|
|
std::shared_ptr<PlatformContext> platformContext) {
|
|
return std::make_unique<VideoCaptureInterfaceImpl>(deviceId, isScreenCapture, platformContext, std::move(threads));
|
|
}
|
|
|
|
VideoCaptureInterface::~VideoCaptureInterface() = default;
|
|
|
|
} // namespace tgcalls
|