├── GDLiveStreaming ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── ReplaceMe.m ├── _Pods.xcodeproj ├── Example ├── Tests │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Tests-Prefix.pch │ ├── Tests-Info.plist │ └── Tests.m ├── GDLiveStreaming │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── GDLViewController.h │ ├── GDLAppDelegate.h │ ├── main.m │ ├── GDLiveStreaming-Prefix.pch │ ├── GPUImageBeautifyFilter.h │ ├── GDLRawDataOutput.h │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ ├── GDLiveStreaming-Info.plist │ ├── Main.storyboard │ ├── GDLAppDelegate.m │ ├── GDLRawDataOutput.mm │ ├── GDLViewController.m │ └── GPUImageBeautifyFilter.m ├── GDLiveStreaming.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── GDLiveStreaming-Example.xcscheme │ └── project.pbxproj ├── GDLiveStreaming.xcworkspace │ └── contents.xcworkspacedata ├── Podfile ├── Podfile.lock └── .idea │ └── codeStyleSettings.xml ├── .gitmodules ├── .travis.yml ├── .gitignore ├── README.md ├── LICENSE ├── glm.podspec └── GDLiveStreaming.podspec /GDLiveStreaming/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /GDLiveStreaming/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /GDLiveStreaming/Classes/ReplaceMe.m: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "VideoCore"] 2 | path = VideoCore 3 | url = https://github.com/goodow/VideoCore.git 4 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/GDLViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // GDLViewController.h 3 | // GDLiveStreaming 4 | // 5 | // Created by Larry Tin on 05/06/2016. 6 | // Copyright (c) 2016 Larry Tin. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface GDLViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/GDLAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // GDLAppDelegate.h 3 | // GDLiveStreaming 4 | // 5 | // Created by Larry Tin on 05/06/2016. 6 | // Copyright (c) 2016 Larry Tin. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface GDLAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | #use_frameworks! 2 | 3 | # pod 'VideoCore', :git => 'https://github.com/goodow/VideoCore.git' 4 | pod 'glm', :git => 'https://github.com/maxcampolo/glm.git' 5 | 6 | target 'GDLiveStreaming_Example' do 7 | pod 'VideoCore', path: '../VideoCore' 8 | pod 'GDLiveStreaming', :path => '../' 9 | end 10 | 11 | target 'GDLiveStreaming_Tests' do 12 | pod 'GDLiveStreaming', :path => '../' 13 | end 14 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // GDLiveStreaming 4 | // 5 | // Created by Larry Tin on 05/06/2016. 6 | // Copyright (c) 2016 Larry Tin. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "GDLAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([GDLAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/GDLiveStreaming-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | // @import UIKit; 15 | // @import Foundation; 16 | #import ; 17 | #import ; 18 | #endif 19 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | language: objective-c 6 | # cache: cocoapods 7 | # podfile: Example/Podfile 8 | # before_install: 9 | # - gem install cocoapods # Since Travis is not always on latest version 10 | # - pod install --project-directory=Example 11 | script: 12 | - set -o pipefail && xcodebuild test -workspace Example/GDLiveStreaming.xcworkspace -scheme GDLiveStreaming-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty 13 | - pod lib lint 14 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/GPUImageBeautifyFilter.h: -------------------------------------------------------------------------------- 1 | // 2 | // GPUImageBeautifyFilter.h 3 | // BeautifyFaceDemo 4 | // 5 | // Created by guikz on 16/4/28. 6 | // Copyright © 2016年 guikz. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class GPUImageCombinationFilter; 12 | 13 | @interface GPUImageBeautifyFilter : GPUImageFilterGroup { 14 | GPUImageBilateralFilter *bilateralFilter; 15 | GPUImageCannyEdgeDetectionFilter *cannyEdgeFilter; 16 | GPUImageCombinationFilter *combinationFilter; 17 | GPUImageHSBFilter *hsbFilter; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // GDLiveStreamingTests.m 3 | // GDLiveStreamingTests 4 | // 5 | // Created by Larry Tin on 05/06/2016. 6 | // Copyright (c) 2016 Larry Tin. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/GDLRawDataOutput.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Larry Tin on 15/12/28. 3 | // Copyright (c) 2015 Tencent. All rights reserved. 4 | // 5 | 6 | #import 7 | #import 8 | #import 9 | 10 | @class GPUImageVideoCamera; 11 | @protocol GPUImageAudioEncodingTarget 12 | - (BOOL)hasAudioTrack; 13 | 14 | - (void)processAudioBuffer:(CMSampleBufferRef)audioBuffer; 15 | @end 16 | 17 | @interface GDLRawDataOutput : GPUImageRawDataOutput 18 | 19 | - (instancetype)initWithVideoCamera:(GPUImageVideoCamera *)camera withImageSize:(CGSize)newImageSize; 20 | 21 | - (void)startUploadStreamWithURL:(NSString *)rtmpUrl andStreamKey:(NSString *)streamKey; 22 | 23 | - (void)stopUploadStream; 24 | 25 | @end -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GDLiveStreaming 2 | 3 | [![CI Status](http://img.shields.io/travis/Larry Tin/GDLiveStreaming.svg?style=flat)](https://travis-ci.org/Larry Tin/GDLiveStreaming) 4 | [![Version](https://img.shields.io/cocoapods/v/GDLiveStreaming.svg?style=flat)](http://cocoapods.org/pods/GDLiveStreaming) 5 | [![License](https://img.shields.io/cocoapods/l/GDLiveStreaming.svg?style=flat)](http://cocoapods.org/pods/GDLiveStreaming) 6 | [![Platform](https://img.shields.io/cocoapods/p/GDLiveStreaming.svg?style=flat)](http://cocoapods.org/pods/GDLiveStreaming) 7 | 8 | ## Example 9 | 10 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 11 | 12 | ## Requirements 13 | 14 | ## Installation 15 | 16 | GDLiveStreaming is available through [CocoaPods](http://cocoapods.org). To install 17 | it, simply add the following line to your Podfile: 18 | 19 | ```ruby 20 | pod "GDLiveStreaming" 21 | ``` 22 | 23 | ## Author 24 | 25 | Larry Tin, dev@goodow.com 26 | 27 | ## License 28 | 29 | GDLiveStreaming is available under the MIT license. See the LICENSE file for more info. 30 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "ipad", 20 | "size" : "29x29", 21 | "scale" : "1x" 22 | }, 23 | { 24 | "idiom" : "ipad", 25 | "size" : "29x29", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "ipad", 30 | "size" : "40x40", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "40x40", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "76x76", 41 | "scale" : "1x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "76x76", 46 | "scale" : "2x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 Larry Tin 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /glm.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "glm" 3 | s.module_name = "glm" 4 | s.version = "0.9.7.4" 5 | s.summary = "OpenGL Mathematics" 6 | s.description = <<-DESC 7 | OpenGL Mathematics is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language specifications. 8 | DESC 9 | s.homepage = "http://glm.g-truc.net" 10 | s.license = {:type => 'MIT', :file => 'copying.txt' } 11 | s.authors = { "Christophe Riccio" => "glm@g-truc.net"} 12 | s.source = { :git => "https://github.com/g-truc/glm.git", :tag => s.version.to_s } 13 | 14 | s.requires_arc = false 15 | 16 | s.header_dir = "glm" 17 | s.header_mappings_dir = "glm" 18 | 19 | s.libraries = 'c++' 20 | 21 | s.ios.deployment_target = '5.0' 22 | s.osx.deployment_target = '10.7' 23 | 24 | s.source_files = 'glm/**/*{.h,.hpp}' 25 | 26 | s.xcconfig = { 'LIBRARY_SEARCH_PATHS' => '$(PODS_ROOT)/glm' } 27 | s.preserve_paths = 'glm/**/*{.h,.hpp,.inl}' 28 | s.public_header_files = 'glm/**/*{.h,.hpp,.inl}' 29 | end 30 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "orientation" : "portrait", 20 | "idiom" : "ipad", 21 | "extent" : "full-screen", 22 | "minimum-system-version" : "7.0", 23 | "scale" : "1x" 24 | }, 25 | { 26 | "orientation" : "landscape", 27 | "idiom" : "ipad", 28 | "extent" : "full-screen", 29 | "minimum-system-version" : "7.0", 30 | "scale" : "1x" 31 | }, 32 | { 33 | "orientation" : "portrait", 34 | "idiom" : "ipad", 35 | "extent" : "full-screen", 36 | "minimum-system-version" : "7.0", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "orientation" : "landscape", 41 | "idiom" : "ipad", 42 | "extent" : "full-screen", 43 | "minimum-system-version" : "7.0", 44 | "scale" : "2x" 45 | } 46 | ], 47 | "info" : { 48 | "version" : 1, 49 | "author" : "xcode" 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/GDLiveStreaming-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /GDLiveStreaming.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint GDLiveStreaming.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = "GDLiveStreaming" 11 | s.version = "0.1.0" 12 | s.summary = "A short description of GDLiveStreaming." 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | TODO: Add long description of the pod here. 22 | DESC 23 | 24 | s.homepage = "https://github.com/goodow/GDLiveStreaming" 25 | # s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2" 26 | s.license = 'MIT' 27 | s.author = { "Larry Tin" => "dev@goodow.com" } 28 | s.source = { :git => "https://github.com/goodow/GDLiveStreaming.git", :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '8.0' 32 | 33 | s.source_files = 'GDLiveStreaming/Classes/**/*' 34 | 35 | # s.resource_bundles = { 36 | # 'GDLiveStreaming' => ['GDLiveStreaming/Assets/*.png'] 37 | # } 38 | 39 | # s.public_header_files = 'Pod/Classes/**/*.h' 40 | # s.frameworks = 'UIKit', 'MapKit' 41 | s.dependency 'GPUImage', '~> 0.1' 42 | s.dependency 'VideoCore', '~> 0.3' 43 | 44 | end 45 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - boost (1.51.0): 3 | - boost/graph-includes (= 1.51.0) 4 | - boost/math-includes (= 1.51.0) 5 | - boost/numeric-includes (= 1.51.0) 6 | - boost/pointer_cast-includes (= 1.51.0) 7 | - boost/preprocessor-includes (= 1.51.0) 8 | - boost/shared_ptr-includes (= 1.51.0) 9 | - boost/string_algorithms-includes (= 1.51.0) 10 | - boost/graph-includes (1.51.0) 11 | - boost/math-includes (1.51.0) 12 | - boost/numeric-includes (1.51.0) 13 | - boost/pointer_cast-includes (1.51.0) 14 | - boost/preprocessor-includes (1.51.0) 15 | - boost/shared_ptr-includes (1.51.0) 16 | - boost/string_algorithms-includes (1.51.0) 17 | - GDLiveStreaming (0.1.0): 18 | - GPUImage (~> 0.1) 19 | - VideoCore (~> 0.3) 20 | - glm (0.9.7.1) 21 | - GPUImage (0.1.7) 22 | - UriParser-cpp (0.1.3) 23 | - VideoCore (0.3.2): 24 | - boost (~> 1.51.0) 25 | - glm (~> 0.9) 26 | - UriParser-cpp (~> 0.1.3) 27 | 28 | DEPENDENCIES: 29 | - GDLiveStreaming (from `../`) 30 | - glm (from `https://github.com/maxcampolo/glm.git`) 31 | - VideoCore (from `../VideoCore`) 32 | 33 | EXTERNAL SOURCES: 34 | GDLiveStreaming: 35 | :path: ../ 36 | glm: 37 | :git: https://github.com/maxcampolo/glm.git 38 | VideoCore: 39 | :path: ../VideoCore 40 | 41 | CHECKOUT OPTIONS: 42 | glm: 43 | :commit: 2cfe1129de430e4b23e811c5e0800989283af224 44 | :git: https://github.com/maxcampolo/glm.git 45 | 46 | SPEC CHECKSUMS: 47 | boost: 6c5c8d8daef26ac83c1e1c00ad14de62b80161d7 48 | GDLiveStreaming: e0391d442eeb7a4e02b277635e10ecd482403ea0 49 | glm: e83c95e7a6359bdaeb23e6089ac826dd62c5c09f 50 | GPUImage: 733a5f0fab92df9de1c37ba9df520a833ccb406d 51 | UriParser-cpp: cbbe00080ee432ec4833dca863a7fc83adc9b01a 52 | VideoCore: a0d0392c9179a8aafbaf6c9e0278706c8ecb4d1a 53 | 54 | PODFILE CHECKSUM: 9ff98c6ad69eb1113712aada98a0a47fe433dca6 55 | 56 | COCOAPODS: 1.0.0.rc.2 57 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/GDLAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // GDLAppDelegate.m 3 | // GDLiveStreaming 4 | // 5 | // Created by Larry Tin on 05/06/2016. 6 | // Copyright (c) 2016 Larry Tin. All rights reserved. 7 | // 8 | 9 | #import "GDLAppDelegate.h" 10 | 11 | @implementation GDLAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 22 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/.idea/codeStyleSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 39 | 41 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/GDLRawDataOutput.mm: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Larry Tin on 15/12/28. 3 | // Copyright (c) 2015 Tencent. All rights reserved. 4 | // 5 | 6 | #import 7 | #import "GDLRawDataOutput.h" 8 | #import 9 | 10 | using namespace videocore; 11 | 12 | @interface GDLRawDataOutput () 13 | @end 14 | 15 | @implementation GDLRawDataOutput { 16 | __weak GPUImageVideoCamera *_videoCamera; 17 | VCSimpleSession *_session; 18 | BOOL _upload; 19 | } 20 | 21 | - (instancetype)initWithVideoCamera:(GPUImageVideoCamera *)camera withImageSize:(CGSize)size { 22 | self = [super initWithImageSize:size resultsInBGRAFormat:YES]; 23 | if (self) { 24 | _videoCamera = camera; 25 | // _videoCamera.audioEncodingTarget = (id) self; 26 | 27 | _session = [[VCSimpleSession alloc] initWithVideoSize:size frameRate:_videoCamera.frameRate bitrate:4000 * 1024]; 28 | _session.useAdaptiveBitrate = YES; 29 | _session.delegate = self; 30 | } 31 | 32 | return self; 33 | } 34 | 35 | - (void)startUploadStreamWithURL:(NSString *)rtmpUrl 36 | andStreamKey:(NSString *)streamKey { 37 | _upload = YES; 38 | [_session startRtmpSessionWithURL:rtmpUrl andStreamKey:streamKey]; 39 | } 40 | 41 | - (void)stopUploadStream { 42 | if (!_upload) { 43 | return; 44 | } 45 | _upload = NO; 46 | [_session endRtmpSession]; 47 | } 48 | 49 | - (void)newFrameReadyAtTime:(CMTime)frameTime atIndex:(NSInteger)textureIndex { 50 | [super newFrameReadyAtTime:frameTime atIndex:textureIndex]; 51 | 52 | if (!_upload) { 53 | return; 54 | } 55 | [self lockFramebufferForReading]; 56 | CGFloat width = imageSize.width; 57 | CGFloat height = imageSize.height; 58 | GLubyte *sourceBytes = self.rawBytesForImage; 59 | NSInteger bytesPerRow = self.bytesPerRowInOutput; 60 | 61 | CVPixelBufferRef pixelBuffer = NULL; 62 | OSStatus result = CVPixelBufferCreateWithBytes(kCFAllocatorDefault, width, height, kCVPixelFormatType_32BGRA, sourceBytes, bytesPerRow, nil, nil, nil, &pixelBuffer); 63 | CMVideoFormatDescriptionRef videoInfo = NULL; 64 | result = CMVideoFormatDescriptionCreateForImageBuffer(kCFAllocatorDefault, pixelBuffer, &videoInfo); 65 | CMSampleTimingInfo timingInfo = {0,}; 66 | timingInfo.duration = kCMTimeInvalid; 67 | timingInfo.decodeTimeStamp = kCMTimeInvalid; 68 | timingInfo.presentationTimeStamp = frameTime; 69 | 70 | _session->m_cameraSource->bufferCaptured(pixelBuffer); 71 | CFRelease(videoInfo); 72 | CVPixelBufferRelease(pixelBuffer); 73 | [self unlockFramebufferAfterReading]; 74 | } 75 | 76 | - (void)willOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer { 77 | } 78 | 79 | - (void)processAudioBuffer:(CMSampleBufferRef)audioBuffer { 80 | if (!_upload) { 81 | return; 82 | } 83 | 84 | } 85 | 86 | - (BOOL)hasAudioTrack { 87 | return YES; 88 | } 89 | 90 | - (void)connectionStatusChanged:(VCSessionState)state { 91 | switch (state) { 92 | case VCSessionStateStarting: 93 | break; 94 | case VCSessionStateStarted: 95 | break; 96 | default: 97 | break; 98 | } 99 | } 100 | @end -------------------------------------------------------------------------------- /Example/GDLiveStreaming/GDLViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // GDLViewController.m 3 | // GDLiveStreaming 4 | // 5 | // Created by Larry Tin on 05/06/2016. 6 | // Copyright (c) 2016 Larry Tin. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import 12 | #import 13 | #import 14 | #import "GDLViewController.h" 15 | #import "GDLRawDataOutput.h" 16 | #import "GPUImageMovieWriter.h" 17 | #import "GPUImageBeautifyFilter.h" 18 | #import 19 | 20 | @interface GDLViewController () 21 | 22 | @end 23 | 24 | @implementation GDLViewController { 25 | GDLRawDataOutput *_output; 26 | GPUImageVideoCamera *_videoCamera; 27 | GPUImageBeautifyFilter *_filter; 28 | } 29 | 30 | - (void)viewDidLoad { 31 | [super viewDidLoad]; 32 | // Do any additional setup after loading the view, typically from a nib. 33 | 34 | _videoCamera = [[GPUImageVideoCamera alloc] initWithSessionPreset:AVCaptureSessionPreset1280x720 cameraPosition:AVCaptureDevicePositionFront]; 35 | _videoCamera.outputImageOrientation = UIInterfaceOrientationPortrait; 36 | _videoCamera.frameRate = 20; 37 | 38 | //添加美颜滤镜 39 | _filter = [[GPUImageBeautifyFilter alloc] init]; 40 | [_videoCamera addTarget:_filter]; 41 | 42 | CGSize viewSize = self.view.frame.size; 43 | GPUImageView *filteredVideoView = [[GPUImageView alloc] initWithFrame:CGRectMake(0.0, 0.0, viewSize.width, viewSize.height)]; 44 | [self.view addSubview:filteredVideoView]; 45 | 46 | [_filter addTarget:filteredVideoView]; 47 | CGSize size = CGSizeMake(720, 1280); 48 | _output = [[GDLRawDataOutput alloc] initWithVideoCamera:_videoCamera withImageSize:size]; 49 | [_filter addTarget:_output]; 50 | 51 | NSString *pathToMovie = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/Movie.m4v"]; 52 | unlink([pathToMovie UTF8String]); // If a file already exists, AVAssetWriter won't let you record new frames, so delete the old movie 53 | NSURL *movieURL = [NSURL fileURLWithPath:pathToMovie]; 54 | GPUImageMovieWriter *movieWriter = [[GPUImageMovieWriter alloc] initWithMovieURL:movieURL size:size]; 55 | movieWriter.encodingLiveVideo = YES; 56 | [_filter addTarget:movieWriter]; 57 | 58 | [_videoCamera startCameraCapture]; 59 | 60 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 3 * NSEC_PER_SEC), dispatch_get_main_queue(), ^(void) { 61 | _videoCamera.audioEncodingTarget = movieWriter; 62 | [movieWriter startRecording]; 63 | [_output startUploadStreamWithURL:@"rtmp://a.rtmp.youtube.com/live2" andStreamKey:@"323c-p07x-2g2e-c57k"]; 64 | 65 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 120.0 * NSEC_PER_SEC), dispatch_get_main_queue(), ^(void) { 66 | [_videoCamera removeTarget:movieWriter]; 67 | _videoCamera.audioEncodingTarget = nil; 68 | [movieWriter finishRecording]; 69 | NSLog(@"Movie completed"); 70 | 71 | ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init]; 72 | if ([library videoAtPathIsCompatibleWithSavedPhotosAlbum:movieURL]) { 73 | [library writeVideoAtPathToSavedPhotosAlbum:movieURL completionBlock:^(NSURL *assetURL, NSError *error) { 74 | dispatch_async(dispatch_get_main_queue(), ^{ 75 | if (error) { 76 | UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Error" message:@"Video Saving Failed" 77 | delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil]; 78 | [alert show]; 79 | } else { 80 | UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Video Saved" message:@"Saved To Photo Album" 81 | delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; 82 | [alert show]; 83 | } 84 | }); 85 | }]; 86 | } 87 | }); 88 | }); 89 | } 90 | 91 | - (void)didReceiveMemoryWarning { 92 | [super didReceiveMemoryWarning]; 93 | // Dispose of any resources that can be recreated. 94 | } 95 | 96 | @end 97 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming.xcodeproj/xcshareddata/xcschemes/GDLiveStreaming-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming/GPUImageBeautifyFilter.m: -------------------------------------------------------------------------------- 1 | // 2 | // GPUImageBeautifyFilter.m 3 | // BeautifyFaceDemo 4 | // 5 | // Created by guikz on 16/4/28. 6 | // Copyright © 2016年 guikz. All rights reserved. 7 | // 8 | 9 | #import "GPUImageBeautifyFilter.h" 10 | 11 | // Internal CombinationFilter(It should not be used outside) 12 | @interface GPUImageCombinationFilter : GPUImageThreeInputFilter 13 | { 14 | GLint smoothDegreeUniform; 15 | } 16 | 17 | @property (nonatomic, assign) CGFloat intensity; 18 | 19 | @end 20 | 21 | NSString *const kGPUImageBeautifyFragmentShaderString = SHADER_STRING 22 | ( 23 | varying highp vec2 textureCoordinate; 24 | varying highp vec2 textureCoordinate2; 25 | varying highp vec2 textureCoordinate3; 26 | 27 | uniform sampler2D inputImageTexture; 28 | uniform sampler2D inputImageTexture2; 29 | uniform sampler2D inputImageTexture3; 30 | uniform mediump float smoothDegree; 31 | 32 | void main() 33 | { 34 | highp vec4 bilateral = texture2D(inputImageTexture, textureCoordinate); 35 | highp vec4 canny = texture2D(inputImageTexture2, textureCoordinate2); 36 | highp vec4 origin = texture2D(inputImageTexture3,textureCoordinate3); 37 | highp vec4 smooth; 38 | lowp float r = origin.r; 39 | lowp float g = origin.g; 40 | lowp float b = origin.b; 41 | if (canny.r < 0.2 && r > 0.3725 && g > 0.1568 && b > 0.0784 && r > b && (max(max(r, g), b) - min(min(r, g), b)) > 0.0588 && abs(r-g) > 0.0588) { 42 | smooth = (1.0 - smoothDegree) * (origin - bilateral) + bilateral; 43 | } 44 | else { 45 | smooth = origin; 46 | } 47 | smooth.r = log(1.0 + 0.2 * smooth.r)/log(1.2); 48 | smooth.g = log(1.0 + 0.2 * smooth.g)/log(1.2); 49 | smooth.b = log(1.0 + 0.2 * smooth.b)/log(1.2); 50 | gl_FragColor = smooth; 51 | } 52 | ); 53 | 54 | @implementation GPUImageCombinationFilter 55 | 56 | - (id)init { 57 | if (self = [super initWithFragmentShaderFromString:kGPUImageBeautifyFragmentShaderString]) { 58 | smoothDegreeUniform = [filterProgram uniformIndex:@"smoothDegree"]; 59 | } 60 | self.intensity = 0.5; 61 | return self; 62 | } 63 | 64 | - (void)setIntensity:(CGFloat)intensity { 65 | _intensity = intensity; 66 | [self setFloat:intensity forUniform:smoothDegreeUniform program:filterProgram]; 67 | } 68 | 69 | @end 70 | 71 | @implementation GPUImageBeautifyFilter 72 | 73 | - (id)init; 74 | { 75 | if (!(self = [super init])) 76 | { 77 | return nil; 78 | } 79 | 80 | // First pass: face smoothing filter 81 | bilateralFilter = [[GPUImageBilateralFilter alloc] init]; 82 | bilateralFilter.distanceNormalizationFactor = 4.0; 83 | [self addFilter:bilateralFilter]; 84 | 85 | // Second pass: edge detection 86 | cannyEdgeFilter = [[GPUImageCannyEdgeDetectionFilter alloc] init]; 87 | [self addFilter:cannyEdgeFilter]; 88 | 89 | // Third pass: combination bilateral, edge detection and origin 90 | combinationFilter = [[GPUImageCombinationFilter alloc] init]; 91 | [self addFilter:combinationFilter]; 92 | 93 | // Adjust HSB 94 | hsbFilter = [[GPUImageHSBFilter alloc] init]; 95 | [hsbFilter adjustBrightness:1.1]; 96 | [hsbFilter adjustSaturation:1.1]; 97 | 98 | [bilateralFilter addTarget:combinationFilter]; 99 | [cannyEdgeFilter addTarget:combinationFilter]; 100 | 101 | [combinationFilter addTarget:hsbFilter]; 102 | 103 | self.initialFilters = [NSArray arrayWithObjects:bilateralFilter,cannyEdgeFilter,combinationFilter,nil]; 104 | self.terminalFilter = hsbFilter; 105 | 106 | return self; 107 | } 108 | 109 | #pragma mark - 110 | #pragma mark GPUImageInput protocol 111 | 112 | - (void)newFrameReadyAtTime:(CMTime)frameTime atIndex:(NSInteger)textureIndex; 113 | { 114 | for (GPUImageOutput *currentFilter in self.initialFilters) 115 | { 116 | if (currentFilter != self.inputFilterToIgnoreForUpdates) 117 | { 118 | if (currentFilter == combinationFilter) { 119 | textureIndex = 2; 120 | } 121 | [currentFilter newFrameReadyAtTime:frameTime atIndex:textureIndex]; 122 | } 123 | } 124 | } 125 | 126 | - (void)setInputFramebuffer:(GPUImageFramebuffer *)newInputFramebuffer atIndex:(NSInteger)textureIndex; 127 | { 128 | for (GPUImageOutput *currentFilter in self.initialFilters) 129 | { 130 | if (currentFilter == combinationFilter) { 131 | textureIndex = 2; 132 | } 133 | [currentFilter setInputFramebuffer:newInputFramebuffer atIndex:textureIndex]; 134 | } 135 | } 136 | 137 | @end 138 | -------------------------------------------------------------------------------- /Example/GDLiveStreaming.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 27AF606F80AC75AD993D6ED6 /* libPods-GDLiveStreaming_Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DACD57B59AAB2025B0F4BD13 /* libPods-GDLiveStreaming_Example.a */; }; 11 | 300DAF2C1CE083E600AB5E9B /* GPUImageBeautifyFilter.m in Sources */ = {isa = PBXBuildFile; fileRef = 300DAF2B1CE083E600AB5E9B /* GPUImageBeautifyFilter.m */; }; 12 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 13 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 14 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 15 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 16 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 17 | 6003F59E195388D20070C39A /* GDLAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* GDLAppDelegate.m */; }; 18 | 6003F5A7195388D20070C39A /* GDLViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* GDLViewController.m */; }; 19 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 20 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 21 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 22 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 23 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 24 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 25 | 61FBCB5B218F1755CF2E54A5 /* GDLRawDataOutput.mm in Sources */ = {isa = PBXBuildFile; fileRef = 61FBC4DA3654B56D9ECC815C /* GDLRawDataOutput.mm */; }; 26 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 27 | D537675F4891E6DA3588394A /* libPods-GDLiveStreaming_Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3EE0BA6DE122642C05D558A7 /* libPods-GDLiveStreaming_Tests.a */; }; 28 | /* End PBXBuildFile section */ 29 | 30 | /* Begin PBXContainerItemProxy section */ 31 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = 6003F582195388D10070C39A /* Project object */; 34 | proxyType = 1; 35 | remoteGlobalIDString = 6003F589195388D20070C39A; 36 | remoteInfo = GDLiveStreaming; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 06C8AC2040A10125E67F54DC /* Pods-GDLiveStreaming_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GDLiveStreaming_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-GDLiveStreaming_Tests/Pods-GDLiveStreaming_Tests.debug.xcconfig"; sourceTree = ""; }; 42 | 1C62093B6E6174A88CB1D146 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 43 | 300DAF2A1CE083E600AB5E9B /* GPUImageBeautifyFilter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPUImageBeautifyFilter.h; sourceTree = ""; }; 44 | 300DAF2B1CE083E600AB5E9B /* GPUImageBeautifyFilter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GPUImageBeautifyFilter.m; sourceTree = ""; }; 45 | 3EE0BA6DE122642C05D558A7 /* libPods-GDLiveStreaming_Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-GDLiveStreaming_Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | 6003F58A195388D20070C39A /* GDLiveStreaming_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GDLiveStreaming_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 48 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 49 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 50 | 6003F595195388D20070C39A /* GDLiveStreaming-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "GDLiveStreaming-Info.plist"; sourceTree = ""; }; 51 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 52 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 53 | 6003F59B195388D20070C39A /* GDLiveStreaming-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GDLiveStreaming-Prefix.pch"; sourceTree = ""; }; 54 | 6003F59C195388D20070C39A /* GDLAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GDLAppDelegate.h; sourceTree = ""; }; 55 | 6003F59D195388D20070C39A /* GDLAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GDLAppDelegate.m; sourceTree = ""; }; 56 | 6003F5A5195388D20070C39A /* GDLViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GDLViewController.h; sourceTree = ""; }; 57 | 6003F5A6195388D20070C39A /* GDLViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GDLViewController.m; sourceTree = ""; }; 58 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 59 | 6003F5AE195388D20070C39A /* GDLiveStreaming_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GDLiveStreaming_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 61 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 62 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 63 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 64 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 65 | 61FBC4DA3654B56D9ECC815C /* GDLRawDataOutput.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GDLRawDataOutput.mm; sourceTree = ""; }; 66 | 61FBCF66B0E471F21E5497E2 /* GDLRawDataOutput.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GDLRawDataOutput.h; sourceTree = ""; }; 67 | 62BBC973148F8EC0BF82D888 /* GDLiveStreaming.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = GDLiveStreaming.podspec; path = ../GDLiveStreaming.podspec; sourceTree = ""; }; 68 | 7F227D185912B9C58B4956B6 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 69 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; 70 | 96E0E270AA4F3AAD7EFBBA74 /* Pods-GDLiveStreaming_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GDLiveStreaming_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-GDLiveStreaming_Tests/Pods-GDLiveStreaming_Tests.release.xcconfig"; sourceTree = ""; }; 71 | 970A800CD78E9FFD137338EB /* Pods-GDLiveStreaming_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GDLiveStreaming_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-GDLiveStreaming_Example/Pods-GDLiveStreaming_Example.release.xcconfig"; sourceTree = ""; }; 72 | CFBE094C848EC256D273B967 /* Pods-GDLiveStreaming_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GDLiveStreaming_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-GDLiveStreaming_Example/Pods-GDLiveStreaming_Example.debug.xcconfig"; sourceTree = ""; }; 73 | DACD57B59AAB2025B0F4BD13 /* libPods-GDLiveStreaming_Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-GDLiveStreaming_Example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 74 | /* End PBXFileReference section */ 75 | 76 | /* Begin PBXFrameworksBuildPhase section */ 77 | 6003F587195388D20070C39A /* Frameworks */ = { 78 | isa = PBXFrameworksBuildPhase; 79 | buildActionMask = 2147483647; 80 | files = ( 81 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 82 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 83 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 84 | 27AF606F80AC75AD993D6ED6 /* libPods-GDLiveStreaming_Example.a in Frameworks */, 85 | ); 86 | runOnlyForDeploymentPostprocessing = 0; 87 | }; 88 | 6003F5AB195388D20070C39A /* Frameworks */ = { 89 | isa = PBXFrameworksBuildPhase; 90 | buildActionMask = 2147483647; 91 | files = ( 92 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 93 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 94 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 95 | D537675F4891E6DA3588394A /* libPods-GDLiveStreaming_Tests.a in Frameworks */, 96 | ); 97 | runOnlyForDeploymentPostprocessing = 0; 98 | }; 99 | /* End PBXFrameworksBuildPhase section */ 100 | 101 | /* Begin PBXGroup section */ 102 | 6003F581195388D10070C39A = { 103 | isa = PBXGroup; 104 | children = ( 105 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 106 | 6003F593195388D20070C39A /* Example for GDLiveStreaming */, 107 | 6003F5B5195388D20070C39A /* Tests */, 108 | 6003F58C195388D20070C39A /* Frameworks */, 109 | 6003F58B195388D20070C39A /* Products */, 110 | 6E86C501B8E4788BFA46478E /* Pods */, 111 | ); 112 | sourceTree = ""; 113 | }; 114 | 6003F58B195388D20070C39A /* Products */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 6003F58A195388D20070C39A /* GDLiveStreaming_Example.app */, 118 | 6003F5AE195388D20070C39A /* GDLiveStreaming_Tests.xctest */, 119 | ); 120 | name = Products; 121 | sourceTree = ""; 122 | }; 123 | 6003F58C195388D20070C39A /* Frameworks */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 6003F58D195388D20070C39A /* Foundation.framework */, 127 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 128 | 6003F591195388D20070C39A /* UIKit.framework */, 129 | 6003F5AF195388D20070C39A /* XCTest.framework */, 130 | DACD57B59AAB2025B0F4BD13 /* libPods-GDLiveStreaming_Example.a */, 131 | 3EE0BA6DE122642C05D558A7 /* libPods-GDLiveStreaming_Tests.a */, 132 | ); 133 | name = Frameworks; 134 | sourceTree = ""; 135 | }; 136 | 6003F593195388D20070C39A /* Example for GDLiveStreaming */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | 6003F59C195388D20070C39A /* GDLAppDelegate.h */, 140 | 6003F59D195388D20070C39A /* GDLAppDelegate.m */, 141 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 142 | 300DAF2A1CE083E600AB5E9B /* GPUImageBeautifyFilter.h */, 143 | 300DAF2B1CE083E600AB5E9B /* GPUImageBeautifyFilter.m */, 144 | 6003F5A5195388D20070C39A /* GDLViewController.h */, 145 | 6003F5A6195388D20070C39A /* GDLViewController.m */, 146 | 6003F5A8195388D20070C39A /* Images.xcassets */, 147 | 6003F594195388D20070C39A /* Supporting Files */, 148 | 61FBCF66B0E471F21E5497E2 /* GDLRawDataOutput.h */, 149 | 61FBC4DA3654B56D9ECC815C /* GDLRawDataOutput.mm */, 150 | ); 151 | name = "Example for GDLiveStreaming"; 152 | path = GDLiveStreaming; 153 | sourceTree = ""; 154 | }; 155 | 6003F594195388D20070C39A /* Supporting Files */ = { 156 | isa = PBXGroup; 157 | children = ( 158 | 6003F595195388D20070C39A /* GDLiveStreaming-Info.plist */, 159 | 6003F596195388D20070C39A /* InfoPlist.strings */, 160 | 6003F599195388D20070C39A /* main.m */, 161 | 6003F59B195388D20070C39A /* GDLiveStreaming-Prefix.pch */, 162 | ); 163 | name = "Supporting Files"; 164 | sourceTree = ""; 165 | }; 166 | 6003F5B5195388D20070C39A /* Tests */ = { 167 | isa = PBXGroup; 168 | children = ( 169 | 6003F5BB195388D20070C39A /* Tests.m */, 170 | 6003F5B6195388D20070C39A /* Supporting Files */, 171 | ); 172 | path = Tests; 173 | sourceTree = ""; 174 | }; 175 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 176 | isa = PBXGroup; 177 | children = ( 178 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 179 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 180 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 181 | ); 182 | name = "Supporting Files"; 183 | sourceTree = ""; 184 | }; 185 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 186 | isa = PBXGroup; 187 | children = ( 188 | 62BBC973148F8EC0BF82D888 /* GDLiveStreaming.podspec */, 189 | 1C62093B6E6174A88CB1D146 /* README.md */, 190 | 7F227D185912B9C58B4956B6 /* LICENSE */, 191 | ); 192 | name = "Podspec Metadata"; 193 | sourceTree = ""; 194 | }; 195 | 6E86C501B8E4788BFA46478E /* Pods */ = { 196 | isa = PBXGroup; 197 | children = ( 198 | CFBE094C848EC256D273B967 /* Pods-GDLiveStreaming_Example.debug.xcconfig */, 199 | 970A800CD78E9FFD137338EB /* Pods-GDLiveStreaming_Example.release.xcconfig */, 200 | 06C8AC2040A10125E67F54DC /* Pods-GDLiveStreaming_Tests.debug.xcconfig */, 201 | 96E0E270AA4F3AAD7EFBBA74 /* Pods-GDLiveStreaming_Tests.release.xcconfig */, 202 | ); 203 | name = Pods; 204 | sourceTree = ""; 205 | }; 206 | /* End PBXGroup section */ 207 | 208 | /* Begin PBXNativeTarget section */ 209 | 6003F589195388D20070C39A /* GDLiveStreaming_Example */ = { 210 | isa = PBXNativeTarget; 211 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "GDLiveStreaming_Example" */; 212 | buildPhases = ( 213 | 0C3BFDF6F5CCC9BBFE0DD580 /* uD83DuDCE6 Check Pods Manifest.lock */, 214 | 2DA2A02144B0F66929902678 /* uD83DuDCE6 Check Pods Manifest.lock */, 215 | 6003F586195388D20070C39A /* Sources */, 216 | 6003F587195388D20070C39A /* Frameworks */, 217 | 6003F588195388D20070C39A /* Resources */, 218 | F78C74A28D24D88C573DF959 /* uD83DuDCE6 Embed Pods Frameworks */, 219 | 735168B07918A4833AAA16AB /* uD83DuDCE6 Copy Pods Resources */, 220 | 8D1CD903FFF75FD92FE1CC71 /* uD83DuDCE6 Embed Pods Frameworks */, 221 | 19F309C96474AD693219C39E /* uD83DuDCE6 Copy Pods Resources */, 222 | ); 223 | buildRules = ( 224 | ); 225 | dependencies = ( 226 | ); 227 | name = GDLiveStreaming_Example; 228 | productName = GDLiveStreaming; 229 | productReference = 6003F58A195388D20070C39A /* GDLiveStreaming_Example.app */; 230 | productType = "com.apple.product-type.application"; 231 | }; 232 | 6003F5AD195388D20070C39A /* GDLiveStreaming_Tests */ = { 233 | isa = PBXNativeTarget; 234 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "GDLiveStreaming_Tests" */; 235 | buildPhases = ( 236 | 1E3DEAF3D2071B9E1F739A2A /* uD83DuDCE6 Check Pods Manifest.lock */, 237 | 8E49C6756BD41FD5D1B2D00C /* uD83DuDCE6 Check Pods Manifest.lock */, 238 | 6003F5AA195388D20070C39A /* Sources */, 239 | 6003F5AB195388D20070C39A /* Frameworks */, 240 | 6003F5AC195388D20070C39A /* Resources */, 241 | A3CDBAF508CEE967508F50C5 /* uD83DuDCE6 Embed Pods Frameworks */, 242 | 34EC280F61CC790E1B7BF31F /* uD83DuDCE6 Copy Pods Resources */, 243 | AD56384822C9D396E0A47B41 /* uD83DuDCE6 Embed Pods Frameworks */, 244 | 27DE2D392A020BAB21848541 /* uD83DuDCE6 Copy Pods Resources */, 245 | ); 246 | buildRules = ( 247 | ); 248 | dependencies = ( 249 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 250 | ); 251 | name = GDLiveStreaming_Tests; 252 | productName = GDLiveStreamingTests; 253 | productReference = 6003F5AE195388D20070C39A /* GDLiveStreaming_Tests.xctest */; 254 | productType = "com.apple.product-type.bundle.unit-test"; 255 | }; 256 | /* End PBXNativeTarget section */ 257 | 258 | /* Begin PBXProject section */ 259 | 6003F582195388D10070C39A /* Project object */ = { 260 | isa = PBXProject; 261 | attributes = { 262 | CLASSPREFIX = GDL; 263 | LastUpgradeCheck = 0720; 264 | ORGANIZATIONNAME = "Larry Tin"; 265 | TargetAttributes = { 266 | 6003F5AD195388D20070C39A = { 267 | TestTargetID = 6003F589195388D20070C39A; 268 | }; 269 | }; 270 | }; 271 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "GDLiveStreaming" */; 272 | compatibilityVersion = "Xcode 3.2"; 273 | developmentRegion = English; 274 | hasScannedForEncodings = 0; 275 | knownRegions = ( 276 | en, 277 | Base, 278 | ); 279 | mainGroup = 6003F581195388D10070C39A; 280 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 281 | projectDirPath = ""; 282 | projectRoot = ""; 283 | targets = ( 284 | 6003F589195388D20070C39A /* GDLiveStreaming_Example */, 285 | 6003F5AD195388D20070C39A /* GDLiveStreaming_Tests */, 286 | ); 287 | }; 288 | /* End PBXProject section */ 289 | 290 | /* Begin PBXResourcesBuildPhase section */ 291 | 6003F588195388D20070C39A /* Resources */ = { 292 | isa = PBXResourcesBuildPhase; 293 | buildActionMask = 2147483647; 294 | files = ( 295 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 296 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 297 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 298 | ); 299 | runOnlyForDeploymentPostprocessing = 0; 300 | }; 301 | 6003F5AC195388D20070C39A /* Resources */ = { 302 | isa = PBXResourcesBuildPhase; 303 | buildActionMask = 2147483647; 304 | files = ( 305 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 306 | ); 307 | runOnlyForDeploymentPostprocessing = 0; 308 | }; 309 | /* End PBXResourcesBuildPhase section */ 310 | 311 | /* Begin PBXShellScriptBuildPhase section */ 312 | 0C3BFDF6F5CCC9BBFE0DD580 /* uD83DuDCE6 Check Pods Manifest.lock */ = { 313 | isa = PBXShellScriptBuildPhase; 314 | buildActionMask = 2147483647; 315 | files = ( 316 | ); 317 | inputPaths = ( 318 | ); 319 | name = "uD83DuDCE6 Check Pods Manifest.lock"; 320 | outputPaths = ( 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | shellPath = /bin/sh; 324 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 325 | showEnvVarsInLog = 0; 326 | }; 327 | 19F309C96474AD693219C39E /* uD83DuDCE6 Copy Pods Resources */ = { 328 | isa = PBXShellScriptBuildPhase; 329 | buildActionMask = 2147483647; 330 | files = ( 331 | ); 332 | inputPaths = ( 333 | ); 334 | name = "uD83DuDCE6 Copy Pods Resources"; 335 | outputPaths = ( 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | shellPath = /bin/sh; 339 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-GDLiveStreaming_Example/Pods-GDLiveStreaming_Example-resources.sh\"\n"; 340 | showEnvVarsInLog = 0; 341 | }; 342 | 1E3DEAF3D2071B9E1F739A2A /* uD83DuDCE6 Check Pods Manifest.lock */ = { 343 | isa = PBXShellScriptBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | ); 347 | inputPaths = ( 348 | ); 349 | name = "uD83DuDCE6 Check Pods Manifest.lock"; 350 | outputPaths = ( 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | shellPath = /bin/sh; 354 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 355 | showEnvVarsInLog = 0; 356 | }; 357 | 27DE2D392A020BAB21848541 /* uD83DuDCE6 Copy Pods Resources */ = { 358 | isa = PBXShellScriptBuildPhase; 359 | buildActionMask = 2147483647; 360 | files = ( 361 | ); 362 | inputPaths = ( 363 | ); 364 | name = "uD83DuDCE6 Copy Pods Resources"; 365 | outputPaths = ( 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | shellPath = /bin/sh; 369 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-GDLiveStreaming_Tests/Pods-GDLiveStreaming_Tests-resources.sh\"\n"; 370 | showEnvVarsInLog = 0; 371 | }; 372 | 2DA2A02144B0F66929902678 /* uD83DuDCE6 Check Pods Manifest.lock */ = { 373 | isa = PBXShellScriptBuildPhase; 374 | buildActionMask = 2147483647; 375 | files = ( 376 | ); 377 | inputPaths = ( 378 | ); 379 | name = "uD83DuDCE6 Check Pods Manifest.lock"; 380 | outputPaths = ( 381 | ); 382 | runOnlyForDeploymentPostprocessing = 0; 383 | shellPath = /bin/sh; 384 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 385 | showEnvVarsInLog = 0; 386 | }; 387 | 34EC280F61CC790E1B7BF31F /* uD83DuDCE6 Copy Pods Resources */ = { 388 | isa = PBXShellScriptBuildPhase; 389 | buildActionMask = 2147483647; 390 | files = ( 391 | ); 392 | inputPaths = ( 393 | ); 394 | name = "uD83DuDCE6 Copy Pods Resources"; 395 | outputPaths = ( 396 | ); 397 | runOnlyForDeploymentPostprocessing = 0; 398 | shellPath = /bin/sh; 399 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-GDLiveStreaming_Tests/Pods-GDLiveStreaming_Tests-resources.sh\"\n"; 400 | showEnvVarsInLog = 0; 401 | }; 402 | 735168B07918A4833AAA16AB /* uD83DuDCE6 Copy Pods Resources */ = { 403 | isa = PBXShellScriptBuildPhase; 404 | buildActionMask = 2147483647; 405 | files = ( 406 | ); 407 | inputPaths = ( 408 | ); 409 | name = "uD83DuDCE6 Copy Pods Resources"; 410 | outputPaths = ( 411 | ); 412 | runOnlyForDeploymentPostprocessing = 0; 413 | shellPath = /bin/sh; 414 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-GDLiveStreaming_Example/Pods-GDLiveStreaming_Example-resources.sh\"\n"; 415 | showEnvVarsInLog = 0; 416 | }; 417 | 8D1CD903FFF75FD92FE1CC71 /* uD83DuDCE6 Embed Pods Frameworks */ = { 418 | isa = PBXShellScriptBuildPhase; 419 | buildActionMask = 2147483647; 420 | files = ( 421 | ); 422 | inputPaths = ( 423 | ); 424 | name = "uD83DuDCE6 Embed Pods Frameworks"; 425 | outputPaths = ( 426 | ); 427 | runOnlyForDeploymentPostprocessing = 0; 428 | shellPath = /bin/sh; 429 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-GDLiveStreaming_Example/Pods-GDLiveStreaming_Example-frameworks.sh\"\n"; 430 | showEnvVarsInLog = 0; 431 | }; 432 | 8E49C6756BD41FD5D1B2D00C /* uD83DuDCE6 Check Pods Manifest.lock */ = { 433 | isa = PBXShellScriptBuildPhase; 434 | buildActionMask = 2147483647; 435 | files = ( 436 | ); 437 | inputPaths = ( 438 | ); 439 | name = "uD83DuDCE6 Check Pods Manifest.lock"; 440 | outputPaths = ( 441 | ); 442 | runOnlyForDeploymentPostprocessing = 0; 443 | shellPath = /bin/sh; 444 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 445 | showEnvVarsInLog = 0; 446 | }; 447 | A3CDBAF508CEE967508F50C5 /* uD83DuDCE6 Embed Pods Frameworks */ = { 448 | isa = PBXShellScriptBuildPhase; 449 | buildActionMask = 2147483647; 450 | files = ( 451 | ); 452 | inputPaths = ( 453 | ); 454 | name = "uD83DuDCE6 Embed Pods Frameworks"; 455 | outputPaths = ( 456 | ); 457 | runOnlyForDeploymentPostprocessing = 0; 458 | shellPath = /bin/sh; 459 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-GDLiveStreaming_Tests/Pods-GDLiveStreaming_Tests-frameworks.sh\"\n"; 460 | showEnvVarsInLog = 0; 461 | }; 462 | AD56384822C9D396E0A47B41 /* uD83DuDCE6 Embed Pods Frameworks */ = { 463 | isa = PBXShellScriptBuildPhase; 464 | buildActionMask = 2147483647; 465 | files = ( 466 | ); 467 | inputPaths = ( 468 | ); 469 | name = "uD83DuDCE6 Embed Pods Frameworks"; 470 | outputPaths = ( 471 | ); 472 | runOnlyForDeploymentPostprocessing = 0; 473 | shellPath = /bin/sh; 474 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-GDLiveStreaming_Tests/Pods-GDLiveStreaming_Tests-frameworks.sh\"\n"; 475 | showEnvVarsInLog = 0; 476 | }; 477 | F78C74A28D24D88C573DF959 /* uD83DuDCE6 Embed Pods Frameworks */ = { 478 | isa = PBXShellScriptBuildPhase; 479 | buildActionMask = 2147483647; 480 | files = ( 481 | ); 482 | inputPaths = ( 483 | ); 484 | name = "uD83DuDCE6 Embed Pods Frameworks"; 485 | outputPaths = ( 486 | ); 487 | runOnlyForDeploymentPostprocessing = 0; 488 | shellPath = /bin/sh; 489 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-GDLiveStreaming_Example/Pods-GDLiveStreaming_Example-frameworks.sh\"\n"; 490 | showEnvVarsInLog = 0; 491 | }; 492 | /* End PBXShellScriptBuildPhase section */ 493 | 494 | /* Begin PBXSourcesBuildPhase section */ 495 | 6003F586195388D20070C39A /* Sources */ = { 496 | isa = PBXSourcesBuildPhase; 497 | buildActionMask = 2147483647; 498 | files = ( 499 | 6003F59E195388D20070C39A /* GDLAppDelegate.m in Sources */, 500 | 300DAF2C1CE083E600AB5E9B /* GPUImageBeautifyFilter.m in Sources */, 501 | 6003F5A7195388D20070C39A /* GDLViewController.m in Sources */, 502 | 6003F59A195388D20070C39A /* main.m in Sources */, 503 | 61FBCB5B218F1755CF2E54A5 /* GDLRawDataOutput.mm in Sources */, 504 | ); 505 | runOnlyForDeploymentPostprocessing = 0; 506 | }; 507 | 6003F5AA195388D20070C39A /* Sources */ = { 508 | isa = PBXSourcesBuildPhase; 509 | buildActionMask = 2147483647; 510 | files = ( 511 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 512 | ); 513 | runOnlyForDeploymentPostprocessing = 0; 514 | }; 515 | /* End PBXSourcesBuildPhase section */ 516 | 517 | /* Begin PBXTargetDependency section */ 518 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 519 | isa = PBXTargetDependency; 520 | target = 6003F589195388D20070C39A /* GDLiveStreaming_Example */; 521 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 522 | }; 523 | /* End PBXTargetDependency section */ 524 | 525 | /* Begin PBXVariantGroup section */ 526 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 527 | isa = PBXVariantGroup; 528 | children = ( 529 | 6003F597195388D20070C39A /* en */, 530 | ); 531 | name = InfoPlist.strings; 532 | sourceTree = ""; 533 | }; 534 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 535 | isa = PBXVariantGroup; 536 | children = ( 537 | 6003F5B9195388D20070C39A /* en */, 538 | ); 539 | name = InfoPlist.strings; 540 | sourceTree = ""; 541 | }; 542 | /* End PBXVariantGroup section */ 543 | 544 | /* Begin XCBuildConfiguration section */ 545 | 6003F5BD195388D20070C39A /* Debug */ = { 546 | isa = XCBuildConfiguration; 547 | buildSettings = { 548 | ALWAYS_SEARCH_USER_PATHS = NO; 549 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 550 | CLANG_CXX_LIBRARY = "libc++"; 551 | CLANG_ENABLE_MODULES = YES; 552 | CLANG_ENABLE_OBJC_ARC = YES; 553 | CLANG_WARN_BOOL_CONVERSION = YES; 554 | CLANG_WARN_CONSTANT_CONVERSION = YES; 555 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 556 | CLANG_WARN_EMPTY_BODY = YES; 557 | CLANG_WARN_ENUM_CONVERSION = YES; 558 | CLANG_WARN_INT_CONVERSION = YES; 559 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 560 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 561 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 562 | COPY_PHASE_STRIP = NO; 563 | ENABLE_TESTABILITY = YES; 564 | GCC_C_LANGUAGE_STANDARD = gnu99; 565 | GCC_DYNAMIC_NO_PIC = NO; 566 | GCC_OPTIMIZATION_LEVEL = 0; 567 | GCC_PREPROCESSOR_DEFINITIONS = ( 568 | "DEBUG=1", 569 | "$(inherited)", 570 | ); 571 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 572 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 573 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 574 | GCC_WARN_UNDECLARED_SELECTOR = YES; 575 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 576 | GCC_WARN_UNUSED_FUNCTION = YES; 577 | GCC_WARN_UNUSED_VARIABLE = YES; 578 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 579 | ONLY_ACTIVE_ARCH = YES; 580 | SDKROOT = iphoneos; 581 | TARGETED_DEVICE_FAMILY = "1,2"; 582 | }; 583 | name = Debug; 584 | }; 585 | 6003F5BE195388D20070C39A /* Release */ = { 586 | isa = XCBuildConfiguration; 587 | buildSettings = { 588 | ALWAYS_SEARCH_USER_PATHS = NO; 589 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 590 | CLANG_CXX_LIBRARY = "libc++"; 591 | CLANG_ENABLE_MODULES = YES; 592 | CLANG_ENABLE_OBJC_ARC = YES; 593 | CLANG_WARN_BOOL_CONVERSION = YES; 594 | CLANG_WARN_CONSTANT_CONVERSION = YES; 595 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 596 | CLANG_WARN_EMPTY_BODY = YES; 597 | CLANG_WARN_ENUM_CONVERSION = YES; 598 | CLANG_WARN_INT_CONVERSION = YES; 599 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 600 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 601 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 602 | COPY_PHASE_STRIP = YES; 603 | ENABLE_NS_ASSERTIONS = NO; 604 | GCC_C_LANGUAGE_STANDARD = gnu99; 605 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 606 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 607 | GCC_WARN_UNDECLARED_SELECTOR = YES; 608 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 609 | GCC_WARN_UNUSED_FUNCTION = YES; 610 | GCC_WARN_UNUSED_VARIABLE = YES; 611 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 612 | SDKROOT = iphoneos; 613 | TARGETED_DEVICE_FAMILY = "1,2"; 614 | VALIDATE_PRODUCT = YES; 615 | }; 616 | name = Release; 617 | }; 618 | 6003F5C0195388D20070C39A /* Debug */ = { 619 | isa = XCBuildConfiguration; 620 | baseConfigurationReference = CFBE094C848EC256D273B967 /* Pods-GDLiveStreaming_Example.debug.xcconfig */; 621 | buildSettings = { 622 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 623 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 624 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 625 | GCC_PREFIX_HEADER = "GDLiveStreaming/GDLiveStreaming-Prefix.pch"; 626 | INFOPLIST_FILE = "GDLiveStreaming/GDLiveStreaming-Info.plist"; 627 | MODULE_NAME = ExampleApp; 628 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 629 | PRODUCT_NAME = "$(TARGET_NAME)"; 630 | WRAPPER_EXTENSION = app; 631 | }; 632 | name = Debug; 633 | }; 634 | 6003F5C1195388D20070C39A /* Release */ = { 635 | isa = XCBuildConfiguration; 636 | baseConfigurationReference = 970A800CD78E9FFD137338EB /* Pods-GDLiveStreaming_Example.release.xcconfig */; 637 | buildSettings = { 638 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 639 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 640 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 641 | GCC_PREFIX_HEADER = "GDLiveStreaming/GDLiveStreaming-Prefix.pch"; 642 | INFOPLIST_FILE = "GDLiveStreaming/GDLiveStreaming-Info.plist"; 643 | MODULE_NAME = ExampleApp; 644 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 645 | PRODUCT_NAME = "$(TARGET_NAME)"; 646 | WRAPPER_EXTENSION = app; 647 | }; 648 | name = Release; 649 | }; 650 | 6003F5C3195388D20070C39A /* Debug */ = { 651 | isa = XCBuildConfiguration; 652 | baseConfigurationReference = 06C8AC2040A10125E67F54DC /* Pods-GDLiveStreaming_Tests.debug.xcconfig */; 653 | buildSettings = { 654 | BUNDLE_LOADER = "$(TEST_HOST)"; 655 | FRAMEWORK_SEARCH_PATHS = ( 656 | "$(SDKROOT)/Developer/Library/Frameworks", 657 | "$(inherited)", 658 | "$(DEVELOPER_FRAMEWORKS_DIR)", 659 | ); 660 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 661 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 662 | GCC_PREPROCESSOR_DEFINITIONS = ( 663 | "DEBUG=1", 664 | "$(inherited)", 665 | ); 666 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 667 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 668 | PRODUCT_NAME = "$(TARGET_NAME)"; 669 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GDLiveStreaming_Example.app/GDLiveStreaming_Example"; 670 | WRAPPER_EXTENSION = xctest; 671 | }; 672 | name = Debug; 673 | }; 674 | 6003F5C4195388D20070C39A /* Release */ = { 675 | isa = XCBuildConfiguration; 676 | baseConfigurationReference = 96E0E270AA4F3AAD7EFBBA74 /* Pods-GDLiveStreaming_Tests.release.xcconfig */; 677 | buildSettings = { 678 | BUNDLE_LOADER = "$(TEST_HOST)"; 679 | FRAMEWORK_SEARCH_PATHS = ( 680 | "$(SDKROOT)/Developer/Library/Frameworks", 681 | "$(inherited)", 682 | "$(DEVELOPER_FRAMEWORKS_DIR)", 683 | ); 684 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 685 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 686 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 687 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 688 | PRODUCT_NAME = "$(TARGET_NAME)"; 689 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GDLiveStreaming_Example.app/GDLiveStreaming_Example"; 690 | WRAPPER_EXTENSION = xctest; 691 | }; 692 | name = Release; 693 | }; 694 | /* End XCBuildConfiguration section */ 695 | 696 | /* Begin XCConfigurationList section */ 697 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "GDLiveStreaming" */ = { 698 | isa = XCConfigurationList; 699 | buildConfigurations = ( 700 | 6003F5BD195388D20070C39A /* Debug */, 701 | 6003F5BE195388D20070C39A /* Release */, 702 | ); 703 | defaultConfigurationIsVisible = 0; 704 | defaultConfigurationName = Release; 705 | }; 706 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "GDLiveStreaming_Example" */ = { 707 | isa = XCConfigurationList; 708 | buildConfigurations = ( 709 | 6003F5C0195388D20070C39A /* Debug */, 710 | 6003F5C1195388D20070C39A /* Release */, 711 | ); 712 | defaultConfigurationIsVisible = 0; 713 | defaultConfigurationName = Release; 714 | }; 715 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "GDLiveStreaming_Tests" */ = { 716 | isa = XCConfigurationList; 717 | buildConfigurations = ( 718 | 6003F5C3195388D20070C39A /* Debug */, 719 | 6003F5C4195388D20070C39A /* Release */, 720 | ); 721 | defaultConfigurationIsVisible = 0; 722 | defaultConfigurationName = Release; 723 | }; 724 | /* End XCConfigurationList section */ 725 | }; 726 | rootObject = 6003F582195388D10070C39A /* Project object */; 727 | } 728 | --------------------------------------------------------------------------------