Skip to content

Commit

Permalink
Weak-link with the VideoToolbox framework
Browse files Browse the repository at this point in the history
This way we will get hardware codecs on iOS8+ but still can
run on devices using an older version of iOS.
  • Loading branch information
Sebastian Dröge authored and sdroege committed Oct 22, 2014
1 parent 06f9d25 commit 4c9ae9a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bowser-ios/Bowser.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4188,6 +4188,10 @@
"$(SRCROOT)/../../openwebrtc/openwebrtc-deps-armv7-ios/lib/**",
"$(SRCROOT)/../../openwebrtc/out/arm-apple-darwin10/lib/**",
);
OTHER_LDFLAGS = (
"-weak_framework",
VideoToolbox,
);
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
Expand Down Expand Up @@ -4218,6 +4222,10 @@
"$(SRCROOT)/../../openwebrtc/openwebrtc-deps-armv7-ios/lib/**",
"$(SRCROOT)/../../openwebrtc/out/arm-apple-darwin10/lib/**",
);
OTHER_LDFLAGS = (
"-weak_framework",
VideoToolbox,
);
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
Expand Down

0 comments on commit 4c9ae9a

Please sign in to comment.