mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Update tgcalls
This commit is contained in:
parent
5a9e44c18f
commit
cbe928ef78
@ -14,6 +14,8 @@ optimization_flags = select({
|
||||
"//conditions:default": ["-DNDEBUG"],
|
||||
})
|
||||
|
||||
enable_x264 = False
|
||||
|
||||
objc_library(
|
||||
name = "TgVoipWebrtc",
|
||||
enable_modules = True,
|
||||
@ -70,7 +72,7 @@ objc_library(
|
||||
"-DRTC_ENABLE_VP9",
|
||||
"-DTGVOIP_NAMESPACE=tgvoip_webrtc",
|
||||
"-std=c++14",
|
||||
] + optimization_flags,
|
||||
] + optimization_flags + (["-DTGCALLS_ENABLE_X264"] if enable_x264 else []),
|
||||
includes = [
|
||||
"PublicHeaders",
|
||||
],
|
||||
@ -84,8 +86,7 @@ objc_library(
|
||||
"//submodules/ffmpeg:ffmpeg",
|
||||
"//third-party/rnnoise:rnnoise",
|
||||
"//third-party/libyuv:libyuv",
|
||||
"//third-party/libx264:libx264",
|
||||
],
|
||||
] + (["//third-party/libx264:libx264"] if enable_x264 else []),
|
||||
sdk_frameworks = [
|
||||
"Foundation",
|
||||
"UIKit",
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 382d1b6756768021274cb1edfc1e144cfb101fb8
|
||||
Subproject commit abb39c285ac9a8ad3d5aa5a43a54ad665d099dcb
|
Loading…
x
Reference in New Issue
Block a user