fix config race condition for wbstream in ios
This commit is contained in:
1 parent
f1ce863405
commit
c6a688d8ab
4 files changed
+13
-9
No files matched your search
@@ -1,5 +1,9 @@
|
||||
#!/bin/sh
|
||||
# Removes Apple developer team ID from the Xcode project before committing.
|
||||
# After cloning, re-select your team in Xcode: Signing & Capabilities > Team.
|
||||
sed -i '' 's/DEVELOPMENT_TEAM = .*;/DEVELOPMENT_TEAM = "";/' whitelist-bypass-proxy.xcodeproj/project.pbxproj
|
||||
echo "Stripped DEVELOPMENT_TEAM from project.pbxproj"
|
||||
# Removes the Apple developer team ID and bundle identifier from the Xcode
|
||||
# project before committing, so neither your team nor a fixed bundle ID is
|
||||
# published. After cloning, set your own in Xcode: Signing & Capabilities >
|
||||
# Team, and change the Bundle Identifier to a unique string.
|
||||
PBXPROJ=whitelist-bypass-proxy.xcodeproj/project.pbxproj
|
||||
sed -i '' 's/DEVELOPMENT_TEAM = .*;/DEVELOPMENT_TEAM = "";/' "$PBXPROJ"
|
||||
sed -i '' 's/PRODUCT_BUNDLE_IDENTIFIER = .*;/PRODUCT_BUNDLE_IDENTIFIER = "com.example.whitelist-bypass-proxy";/' "$PBXPROJ"
|
||||
echo "Stripped DEVELOPMENT_TEAM and PRODUCT_BUNDLE_IDENTIFIER from project.pbxproj"
|
||||
@@ -295,6 +295,7 @@
|
||||
);
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_FILE = "whitelist-bypass-proxy/Info.plist";
|
||||
INFOPLIST_KEY_CFBundleDisplayName = "Whitelist Bypass";
|
||||
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
|
||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
|
||||
@@ -305,7 +306,7 @@
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 0.3.5;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "bypass.whitelist.whitelist-bypass-proxy";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.example.whitelist-bypass-proxy";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||
SWIFT_APPROACHABLE_CONCURRENCY = YES;
|
||||
@@ -332,6 +333,7 @@
|
||||
);
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_FILE = "whitelist-bypass-proxy/Info.plist";
|
||||
INFOPLIST_KEY_CFBundleDisplayName = "Whitelist Bypass";
|
||||
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
|
||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
|
||||
@@ -342,7 +344,7 @@
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 0.3.5;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "bypass.whitelist.whitelist-bypass-proxy";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.example.whitelist-bypass-proxy";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||
SWIFT_APPROACHABLE_CONCURRENCY = YES;
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Whitelist Bypass</string>
|
||||
<key>UIBackgroundModes</key>
|
||||
<array>
|
||||
<string>audio</string>
|
||||
|
||||
@@ -263,7 +263,7 @@ func (s *Session) startTunnel() {
|
||||
tun := s.vp8tun
|
||||
s.mu.Unlock()
|
||||
s.cfg.LogFn("[lk] vp8 tunnel writer started tracks=%d", len(subs))
|
||||
if s.cfg.IsJoiner {
|
||||
if s.cfg.IsJoiner && s.cfg.TunnelMode != TunnelModeDC {
|
||||
go s.configPingPong(tun, len(subs))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user