mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-08 19:10:53 +00:00
Fix build
This commit is contained in:
parent
dce811f80b
commit
69828a0319
@ -14,6 +14,8 @@ static_library(
|
||||
"tgcalls/tgcalls/legacy/**",
|
||||
"tgcalls/tgcalls/platform/tdesktop/**",
|
||||
"tgcalls/tgcalls/platform/windows/**",
|
||||
"tgcalls/tgcalls/platform/darwin/VideoCameraCapturerMac.*",
|
||||
"tgcalls/tgcalls/platform/darwin/VideoMetalViewMac.*",
|
||||
]),
|
||||
has_cpp = True,
|
||||
headers = merge_maps([
|
||||
|
@ -15,6 +15,8 @@ objc_library(
|
||||
"tgcalls/tgcalls/legacy/**",
|
||||
"tgcalls/tgcalls/platform/tdesktop/**",
|
||||
"tgcalls/tgcalls/platform/windows/**",
|
||||
"tgcalls/tgcalls/platform/darwin/VideoCameraCapturerMac.*",
|
||||
"tgcalls/tgcalls/platform/darwin/VideoMetalViewMac.*",
|
||||
]),
|
||||
hdrs = glob([
|
||||
"PublicHeaders/**/*.h",
|
||||
|
@ -61,7 +61,7 @@
|
||||
- (instancetype _Nonnull)init {
|
||||
self = [super init];
|
||||
if (self != nil) {
|
||||
_interface = tgcalls::CreateVideoCapture();
|
||||
_interface = tgcalls::VideoCaptureInterface::Create();
|
||||
}
|
||||
return self;
|
||||
}
|
||||
@ -541,7 +541,7 @@ static void (*InternalVoipLoggingFunction)(NSString *) = NULL;
|
||||
- (void)acceptVideo:(OngoingCallThreadLocalContextVideoCapturer * _Nullable)videoCapturer {
|
||||
if (_tgVoip && _videoCapturer == nil) {
|
||||
_videoCapturer = videoCapturer;
|
||||
_tgVoip->acceptVideo([_videoCapturer getInterface]);
|
||||
_tgVoip->requestVideo([_videoCapturer getInterface]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 89f391b1de6fd445b33469a54bf8ea3dca534208
|
||||
Subproject commit 83c85d20ccdde154acca4b964317de1e695f95d1
|
Loading…
x
Reference in New Issue
Block a user