├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── README.md ├── __tests__ └── App-test.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── build_defs.bzl │ ├── proguard-rules.pro │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── rctwebrtcdemo2 │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── app.json ├── babel.config.js ├── index.js ├── ios ├── RCTWebRTCDemo2-tvOS │ └── Info.plist ├── RCTWebRTCDemo2-tvOSTests │ └── Info.plist ├── RCTWebRTCDemo2.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── RCTWebRTCDemo2-tvOS.xcscheme │ │ └── RCTWebRTCDemo2.xcscheme ├── RCTWebRTCDemo2 │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── RCTWebRTCDemo2Tests │ ├── Info.plist │ └── RCTWebRTCDemo2Tests.m ├── metro.config.js ├── package-lock.json ├── package.json └── src ├── App.js ├── debug ├── index.js ├── log.js └── logError.js └── styles ├── button.js ├── container.js ├── index.js ├── rtcView.js └── text.js /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | 28 | [options] 29 | emoji=true 30 | 31 | esproposal.optional_chaining=enable 32 | esproposal.nullish_coalescing=enable 33 | 34 | module.system=haste 35 | module.system.haste.use_name_reducers=true 36 | # get basename 37 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' 38 | # strip .js or .js.flow suffix 39 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' 40 | # strip .ios suffix 41 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' 42 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' 43 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' 44 | module.system.haste.paths.blacklist=.*/__tests__/.* 45 | module.system.haste.paths.blacklist=.*/__mocks__/.* 46 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.* 47 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.* 48 | 49 | munge_underscores=true 50 | 51 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 52 | 53 | module.file_ext=.js 54 | module.file_ext=.jsx 55 | module.file_ext=.json 56 | module.file_ext=.native.js 57 | 58 | suppress_type=$FlowIssue 59 | suppress_type=$FlowFixMe 60 | suppress_type=$FlowFixMeProps 61 | suppress_type=$FlowFixMeState 62 | 63 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 64 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 65 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 66 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 67 | 68 | [version] 69 | ^0.92.0 70 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # RCTWebRTCDemo2 2 | 3 | ## Configuration (Works on iOS & Android) 4 | **react: 16.8.3** 5 | 6 | **react-native: 0.59.4** 7 | 8 | **react-native-webrtc: 1.67.1** 9 | 10 | ## Usage 11 | - Clone the repository, run `npm install`. 12 | - For iOS, run the project on Xcode. 13 | - For Android, run `react-native run-android` in the directory. 14 | 15 | ## Native Code Changes (*Android*) 16 | - Because this is version **1.67.1** you must change the native android code in the module. 17 | - go to ```node_modules/react-native-webrtc/android/src/main/java/com/oney/WebRTCModule/WebRTCModule.java``` 18 | 19 | ```java 20 | import com.facebook.react.bridge.ReadableType; 21 | import com.facebook.react.bridge.WritableMap; 22 | import com.facebook.react.modules.core.DeviceEventManagerModule; 23 | import com.facebook.react.module.annotations.ReactModule; // <-- Add this 24 | 25 | import java.util.ArrayList; 26 | import java.util.HashMap; 27 | 28 | import org.webrtc.*; 29 | 30 | @ReactModule(name = "WebRTCModule") // <-- Add this 31 | public class WebRTCModule extends ReactContextBaseJavaModule { 32 | static final String TAG = WebRTCModule.class.getCanonicalName(); 33 | ``` 34 | 35 | ## Instructions 36 | - For this to work you need to create the server, go to : [RCTWebRTCDemo-server](https://github.com/DimitrisTzimikas/RCTWebRTCDemo-server) and follow the instructions. 37 | 38 | - After you create the server and deploy it with ngrok copy the link, something like that "https://a4cd7858.ngrok.io" and paste it to ```RCTWebRCTDemo2/src/App.js``` 39 | ```javascript 40 | const url = 'paste_it_here'; 41 | ``` 42 | - It must look like than 43 | ```javascript 44 | const url = 'https://a4cd7858.ngrok.io/'; 45 | ``` 46 | 47 | # Note 48 | - Whenever you change the ngrok link you must follow the same routine. 49 | -------------------------------------------------------------------------------- /__tests__/App-test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import 'react-native'; 6 | import React from 'react'; 7 | import App from '../src/App'; 8 | 9 | // Note: test renderer must be required after react-native. 10 | import renderer from 'react-test-renderer'; 11 | 12 | it('renders correctly', () => { 13 | renderer.create(); 14 | }); 15 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") 12 | 13 | lib_deps = [] 14 | 15 | create_aar_targets(glob(["libs/*.aar"])) 16 | 17 | create_jar_targets(glob(["libs/*.jar"])) 18 | 19 | android_library( 20 | name = "all-libs", 21 | exported_deps = lib_deps, 22 | ) 23 | 24 | android_library( 25 | name = "app-code", 26 | srcs = glob([ 27 | "src/main/java/**/*.java", 28 | ]), 29 | deps = [ 30 | ":all-libs", 31 | ":build_config", 32 | ":res", 33 | ], 34 | ) 35 | 36 | android_build_config( 37 | name = "build_config", 38 | package = "com.rctwebrtcdemo2", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.rctwebrtcdemo2", 44 | res = "src/main/res", 45 | ) 46 | 47 | android_binary( 48 | name = "app", 49 | keystore = "//android/keystores:debug", 50 | manifest = "src/main/AndroidManifest.xml", 51 | package_type = "debug", 52 | deps = [ 53 | ":app-code", 54 | ], 55 | ) 56 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | project.ext.react = [ 6 | entryFile: "index.js" 7 | ] 8 | 9 | apply from: "../../node_modules/react-native/react.gradle" 10 | 11 | def enableSeparateBuildPerCPUArchitecture = false 12 | 13 | def enableProguardInReleaseBuilds = false 14 | 15 | android { 16 | compileSdkVersion rootProject.ext.compileSdkVersion 17 | 18 | compileOptions { 19 | sourceCompatibility JavaVersion.VERSION_1_8 20 | targetCompatibility JavaVersion.VERSION_1_8 21 | } 22 | 23 | defaultConfig { 24 | applicationId "com.rctwebrtcdemo2" 25 | minSdkVersion rootProject.ext.minSdkVersion 26 | targetSdkVersion rootProject.ext.targetSdkVersion 27 | versionCode 1 28 | versionName "1.0" 29 | 30 | ndk { 31 | abiFilters 'armeabi-v7a', 'x86' 32 | } 33 | 34 | packagingOptions { 35 | // The project react-native does not provide 64-bit binaries at the 36 | // time of this writing. Unfortunately, packaging any 64-bit 37 | // binaries into the .apk will crash the app at runtime on 64-bit 38 | // platforms. 39 | exclude '/lib/mips64/**' 40 | exclude '/lib/arm64-v8a/**' 41 | exclude '/lib/x86_64/**' 42 | } 43 | } 44 | splits { 45 | abi { 46 | reset() 47 | enable enableSeparateBuildPerCPUArchitecture 48 | universalApk false // If true, also generate a universal APK 49 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" 50 | } 51 | } 52 | buildTypes { 53 | release { 54 | minifyEnabled enableProguardInReleaseBuilds 55 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 56 | } 57 | } 58 | // applicationVariants are e.g. debug, release 59 | applicationVariants.all { variant -> 60 | variant.outputs.each { output -> 61 | // For each separate APK per architecture, set a unique version code as described here: 62 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 63 | def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3, "x86_64": 4] 64 | def abi = output.getFilter(OutputFile.ABI) 65 | if (abi != null) { // null for the universal-debug, universal-release variants 66 | output.versionCodeOverride = 67 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 68 | } 69 | } 70 | } 71 | } 72 | 73 | dependencies { 74 | implementation fileTree(dir: "libs", include: ["*.jar"]) 75 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" 76 | implementation "com.facebook.react:react-native:+" // From node_modules 77 | implementation project(":WebRTCModule") 78 | } 79 | 80 | // Run this once to be able to run the application with BUCK 81 | // puts all compile dependencies into folder libs for BUCK to use 82 | task copyDownloadableDepsToLibs(type: Copy) { 83 | from configurations.compile 84 | into 'libs' 85 | } 86 | -------------------------------------------------------------------------------- /android/app/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """Helper definitions to glob .aar and .jar targets""" 2 | 3 | def create_aar_targets(aarfiles): 4 | for aarfile in aarfiles: 5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] 6 | lib_deps.append(":" + name) 7 | android_prebuilt_aar( 8 | name = name, 9 | aar = aarfile, 10 | ) 11 | 12 | def create_jar_targets(jarfiles): 13 | for jarfile in jarfiles: 14 | name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] 15 | lib_deps.append(":" + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rctwebrtcdemo2/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.rctwebrtcdemo2; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "RCTWebRTCDemo2"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rctwebrtcdemo2/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.rctwebrtcdemo2; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.facebook.react.ReactNativeHost; 7 | import com.facebook.react.ReactPackage; 8 | import com.facebook.react.shell.MainReactPackage; 9 | import com.facebook.soloader.SoLoader; 10 | import com.oney.WebRTCModule.WebRTCModulePackage; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | return Arrays.asList( 26 | new MainReactPackage(), 27 | new WebRTCModulePackage() 28 | ); 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DimitrisTzimikas/RCTWebRTCDemo2/8c7d0c01c7b940fb0833b2bb4dbc6b342743e287/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DimitrisTzimikas/RCTWebRTCDemo2/8c7d0c01c7b940fb0833b2bb4dbc6b342743e287/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DimitrisTzimikas/RCTWebRTCDemo2/8c7d0c01c7b940fb0833b2bb4dbc6b342743e287/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DimitrisTzimikas/RCTWebRTCDemo2/8c7d0c01c7b940fb0833b2bb4dbc6b342743e287/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DimitrisTzimikas/RCTWebRTCDemo2/8c7d0c01c7b940fb0833b2bb4dbc6b342743e287/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DimitrisTzimikas/RCTWebRTCDemo2/8c7d0c01c7b940fb0833b2bb4dbc6b342743e287/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DimitrisTzimikas/RCTWebRTCDemo2/8c7d0c01c7b940fb0833b2bb4dbc6b342743e287/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DimitrisTzimikas/RCTWebRTCDemo2/8c7d0c01c7b940fb0833b2bb4dbc6b342743e287/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DimitrisTzimikas/RCTWebRTCDemo2/8c7d0c01c7b940fb0833b2bb4dbc6b342743e287/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DimitrisTzimikas/RCTWebRTCDemo2/8c7d0c01c7b940fb0833b2bb4dbc6b342743e287/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | RCTWebRTCDemo2 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "28.0.3" 6 | minSdkVersion = 21 7 | compileSdkVersion = 28 8 | targetSdkVersion = 28 9 | supportLibVersion = "28.0.0" 10 | } 11 | repositories { 12 | google() 13 | jcenter() 14 | } 15 | dependencies { 16 | classpath 'com.android.tools.build:gradle:3.4.1' 17 | 18 | // NOTE: Do not place your application dependencies here; they belong 19 | // in the individual module build.gradle files 20 | } 21 | } 22 | 23 | allprojects { 24 | repositories { 25 | mavenLocal() 26 | google() 27 | jcenter() 28 | maven { 29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 30 | url "$rootDir/../node_modules/react-native/android" 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DimitrisTzimikas/RCTWebRTCDemo2/8c7d0c01c7b940fb0833b2bb4dbc6b342743e287/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip 6 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Attempt to set APP_HOME 10 | # Resolve links: $0 may be a link 11 | PRG="$0" 12 | # Need this for relative symlinks. 13 | while [ -h "$PRG" ] ; do 14 | ls=`ls -ld "$PRG"` 15 | link=`expr "$ls" : '.*-> \(.*\)$'` 16 | if expr "$link" : '/.*' > /dev/null; then 17 | PRG="$link" 18 | else 19 | PRG=`dirname "$PRG"`"/$link" 20 | fi 21 | done 22 | SAVED="`pwd`" 23 | cd "`dirname \"$PRG\"`/" >/dev/null 24 | APP_HOME="`pwd -P`" 25 | cd "$SAVED" >/dev/null 26 | 27 | APP_NAME="Gradle" 28 | APP_BASE_NAME=`basename "$0"` 29 | 30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 31 | DEFAULT_JVM_OPTS="" 32 | 33 | # Use the maximum available, or set MAX_FD != -1 to use that value. 34 | MAX_FD="maximum" 35 | 36 | warn () { 37 | echo "$*" 38 | } 39 | 40 | die () { 41 | echo 42 | echo "$*" 43 | echo 44 | exit 1 45 | } 46 | 47 | # OS specific support (must be 'true' or 'false'). 48 | cygwin=false 49 | msys=false 50 | darwin=false 51 | nonstop=false 52 | case "`uname`" in 53 | CYGWIN* ) 54 | cygwin=true 55 | ;; 56 | Darwin* ) 57 | darwin=true 58 | ;; 59 | MINGW* ) 60 | msys=true 61 | ;; 62 | NONSTOP* ) 63 | nonstop=true 64 | ;; 65 | esac 66 | 67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 68 | 69 | # Determine the Java command to use to start the JVM. 70 | if [ -n "$JAVA_HOME" ] ; then 71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 72 | # IBM's JDK on AIX uses strange locations for the executables 73 | JAVACMD="$JAVA_HOME/jre/sh/java" 74 | else 75 | JAVACMD="$JAVA_HOME/bin/java" 76 | fi 77 | if [ ! -x "$JAVACMD" ] ; then 78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 79 | 80 | Please set the JAVA_HOME variable in your environment to match the 81 | location of your Java installation." 82 | fi 83 | else 84 | JAVACMD="java" 85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 86 | 87 | Please set the JAVA_HOME variable in your environment to match the 88 | location of your Java installation." 89 | fi 90 | 91 | # Increase the maximum file descriptors if we can. 92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 93 | MAX_FD_LIMIT=`ulimit -H -n` 94 | if [ $? -eq 0 ] ; then 95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 96 | MAX_FD="$MAX_FD_LIMIT" 97 | fi 98 | ulimit -n $MAX_FD 99 | if [ $? -ne 0 ] ; then 100 | warn "Could not set maximum file descriptor limit: $MAX_FD" 101 | fi 102 | else 103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 104 | fi 105 | fi 106 | 107 | # For Darwin, add options to specify how the application appears in the dock 108 | if $darwin; then 109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 110 | fi 111 | 112 | # For Cygwin, switch paths to Windows format before running java 113 | if $cygwin ; then 114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 116 | JAVACMD=`cygpath --unix "$JAVACMD"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Escape application args 158 | save () { 159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 160 | echo " " 161 | } 162 | APP_ARGS=$(save "$@") 163 | 164 | # Collect all arguments for the java command, following the shell quoting and substitution rules 165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 166 | 167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong 168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then 169 | cd "$(dirname "$0")" 170 | fi 171 | 172 | exec "$JAVACMD" "$@" 173 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | set DIRNAME=%~dp0 12 | if "%DIRNAME%" == "" set DIRNAME=. 13 | set APP_BASE_NAME=%~n0 14 | set APP_HOME=%DIRNAME% 15 | 16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 | set DEFAULT_JVM_OPTS= 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | 53 | :win9xME_args 54 | @rem Slurp the command line arguments. 55 | set CMD_LINE_ARGS= 56 | set _SKIP=2 57 | 58 | :win9xME_args_slurp 59 | if "x%~1" == "x" goto execute 60 | 61 | set CMD_LINE_ARGS=%* 62 | 63 | :execute 64 | @rem Setup the command line 65 | 66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 | 68 | @rem Execute Gradle 69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 70 | 71 | :end 72 | @rem End local scope for the variables with windows NT shell 73 | if "%ERRORLEVEL%"=="0" goto mainEnd 74 | 75 | :fail 76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 77 | rem the _cmd.exe /c_ return code! 78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 79 | exit /b 1 80 | 81 | :mainEnd 82 | if "%OS%"=="Windows_NT" endlocal 83 | 84 | :omega 85 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'RCTWebRTCDemo2' 2 | 3 | include ':app' 4 | 5 | include ':WebRTCModule', ':app' 6 | project(':WebRTCModule').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webrtc/android') 7 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RCTWebRTCDemo2", 3 | "displayName": "RCTWebRTCDemo2" 4 | } -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from "react-native"; 2 | import { name as appName } from './app.json'; 3 | import App from './src/App'; 4 | 5 | 6 | AppRegistry.registerComponent(appName, () => App); 7 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 15 | 00E356F31AD99517003FC87E /* RCTWebRTCDemo2Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RCTWebRTCDemo2Tests.m */; }; 16 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 17 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 18 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 19 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 20 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 21 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 22 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 23 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 24 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 26 | 22C29EF822660AA20067EDA6 /* WebRTC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29EF722660AA20067EDA6 /* WebRTC.framework */; }; 27 | 22C29EFA22660B9E0067EDA6 /* WebRTC.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29EF722660AA20067EDA6 /* WebRTC.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 28 | 22C29EFC22660BE90067EDA6 /* libRCTWebRTC.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29EF622660A680067EDA6 /* libRCTWebRTC.a */; }; 29 | 22C29F0722660C180067EDA6 /* VideoToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29EFD22660C170067EDA6 /* VideoToolbox.framework */; }; 30 | 22C29F0822660C180067EDA6 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29EFE22660C180067EDA6 /* AudioToolbox.framework */; }; 31 | 22C29F0922660C180067EDA6 /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29EFF22660C180067EDA6 /* GLKit.framework */; }; 32 | 22C29F0A22660C180067EDA6 /* libc.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29F0022660C180067EDA6 /* libc.tbd */; }; 33 | 22C29F0B22660C180067EDA6 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29F0122660C180067EDA6 /* AVFoundation.framework */; }; 34 | 22C29F0C22660C180067EDA6 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29F0222660C180067EDA6 /* CoreGraphics.framework */; }; 35 | 22C29F0D22660C180067EDA6 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29F0322660C180067EDA6 /* libc++.tbd */; }; 36 | 22C29F0E22660C180067EDA6 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29F0422660C180067EDA6 /* CoreAudio.framework */; }; 37 | 22C29F0F22660C180067EDA6 /* CoreVideo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29F0522660C180067EDA6 /* CoreVideo.framework */; }; 38 | 22C29F1022660C180067EDA6 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 22C29F0622660C180067EDA6 /* libsqlite3.tbd */; }; 39 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 40 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 41 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 42 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 43 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 44 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 45 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 46 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 47 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 48 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 49 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 50 | 2DCD954D1E0B4F2C00145EB5 /* RCTWebRTCDemo2Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RCTWebRTCDemo2Tests.m */; }; 51 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 52 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 53 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 54 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; }; 55 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; }; 56 | /* End PBXBuildFile section */ 57 | 58 | /* Begin PBXContainerItemProxy section */ 59 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 60 | isa = PBXContainerItemProxy; 61 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 62 | proxyType = 2; 63 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 64 | remoteInfo = RCTActionSheet; 65 | }; 66 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 67 | isa = PBXContainerItemProxy; 68 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 69 | proxyType = 2; 70 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 71 | remoteInfo = RCTGeolocation; 72 | }; 73 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 74 | isa = PBXContainerItemProxy; 75 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 76 | proxyType = 2; 77 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 78 | remoteInfo = RCTImage; 79 | }; 80 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 81 | isa = PBXContainerItemProxy; 82 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 83 | proxyType = 2; 84 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 85 | remoteInfo = RCTNetwork; 86 | }; 87 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 88 | isa = PBXContainerItemProxy; 89 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 90 | proxyType = 2; 91 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 92 | remoteInfo = RCTVibration; 93 | }; 94 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 95 | isa = PBXContainerItemProxy; 96 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 97 | proxyType = 1; 98 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 99 | remoteInfo = RCTWebRTCDemo2; 100 | }; 101 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 102 | isa = PBXContainerItemProxy; 103 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 104 | proxyType = 2; 105 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 106 | remoteInfo = RCTSettings; 107 | }; 108 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 109 | isa = PBXContainerItemProxy; 110 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 111 | proxyType = 2; 112 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 113 | remoteInfo = RCTWebSocket; 114 | }; 115 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 116 | isa = PBXContainerItemProxy; 117 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 118 | proxyType = 2; 119 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 120 | remoteInfo = React; 121 | }; 122 | 22C29EE9226608C60067EDA6 /* PBXContainerItemProxy */ = { 123 | isa = PBXContainerItemProxy; 124 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 125 | proxyType = 2; 126 | remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8; 127 | remoteInfo = jsi; 128 | }; 129 | 22C29EEB226608C60067EDA6 /* PBXContainerItemProxy */ = { 130 | isa = PBXContainerItemProxy; 131 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 132 | proxyType = 2; 133 | remoteGlobalIDString = EDEBC73B214B45A300DD5AC8; 134 | remoteInfo = jsiexecutor; 135 | }; 136 | 22C29EED226608C60067EDA6 /* PBXContainerItemProxy */ = { 137 | isa = PBXContainerItemProxy; 138 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 139 | proxyType = 2; 140 | remoteGlobalIDString = ED296FB6214C9A0900B7C4FE; 141 | remoteInfo = "jsi-tvOS"; 142 | }; 143 | 22C29EEF226608C60067EDA6 /* PBXContainerItemProxy */ = { 144 | isa = PBXContainerItemProxy; 145 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 146 | proxyType = 2; 147 | remoteGlobalIDString = ED296FEE214C9CF800B7C4FE; 148 | remoteInfo = "jsiexecutor-tvOS"; 149 | }; 150 | 22C29EF522660A680067EDA6 /* PBXContainerItemProxy */ = { 151 | isa = PBXContainerItemProxy; 152 | containerPortal = 22C29EF122660A680067EDA6 /* RCTWebRTC.xcodeproj */; 153 | proxyType = 2; 154 | remoteGlobalIDString = 35A2221F1CB493700015FD5C; 155 | remoteInfo = RCTWebRTC; 156 | }; 157 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 158 | isa = PBXContainerItemProxy; 159 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 160 | proxyType = 1; 161 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 162 | remoteInfo = "RCTWebRTCDemo2-tvOS"; 163 | }; 164 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 165 | isa = PBXContainerItemProxy; 166 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 167 | proxyType = 2; 168 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 169 | remoteInfo = "RCTBlob-tvOS"; 170 | }; 171 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 172 | isa = PBXContainerItemProxy; 173 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 174 | proxyType = 2; 175 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 176 | remoteInfo = fishhook; 177 | }; 178 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 179 | isa = PBXContainerItemProxy; 180 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 181 | proxyType = 2; 182 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 183 | remoteInfo = "fishhook-tvOS"; 184 | }; 185 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = { 186 | isa = PBXContainerItemProxy; 187 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 188 | proxyType = 2; 189 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 190 | remoteInfo = jsinspector; 191 | }; 192 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = { 193 | isa = PBXContainerItemProxy; 194 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 195 | proxyType = 2; 196 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 197 | remoteInfo = "jsinspector-tvOS"; 198 | }; 199 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = { 200 | isa = PBXContainerItemProxy; 201 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 202 | proxyType = 2; 203 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 204 | remoteInfo = "third-party"; 205 | }; 206 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = { 207 | isa = PBXContainerItemProxy; 208 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 209 | proxyType = 2; 210 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 211 | remoteInfo = "third-party-tvOS"; 212 | }; 213 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = { 214 | isa = PBXContainerItemProxy; 215 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 216 | proxyType = 2; 217 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 218 | remoteInfo = "double-conversion"; 219 | }; 220 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = { 221 | isa = PBXContainerItemProxy; 222 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 223 | proxyType = 2; 224 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 225 | remoteInfo = "double-conversion-tvOS"; 226 | }; 227 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 228 | isa = PBXContainerItemProxy; 229 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 230 | proxyType = 2; 231 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 232 | remoteInfo = "RCTImage-tvOS"; 233 | }; 234 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 235 | isa = PBXContainerItemProxy; 236 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 237 | proxyType = 2; 238 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 239 | remoteInfo = "RCTLinking-tvOS"; 240 | }; 241 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 242 | isa = PBXContainerItemProxy; 243 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 244 | proxyType = 2; 245 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 246 | remoteInfo = "RCTNetwork-tvOS"; 247 | }; 248 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 249 | isa = PBXContainerItemProxy; 250 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 251 | proxyType = 2; 252 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 253 | remoteInfo = "RCTSettings-tvOS"; 254 | }; 255 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 256 | isa = PBXContainerItemProxy; 257 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 258 | proxyType = 2; 259 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 260 | remoteInfo = "RCTText-tvOS"; 261 | }; 262 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 263 | isa = PBXContainerItemProxy; 264 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 265 | proxyType = 2; 266 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 267 | remoteInfo = "RCTWebSocket-tvOS"; 268 | }; 269 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 270 | isa = PBXContainerItemProxy; 271 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 272 | proxyType = 2; 273 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 274 | remoteInfo = "React-tvOS"; 275 | }; 276 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 277 | isa = PBXContainerItemProxy; 278 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 279 | proxyType = 2; 280 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 281 | remoteInfo = yoga; 282 | }; 283 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 284 | isa = PBXContainerItemProxy; 285 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 286 | proxyType = 2; 287 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 288 | remoteInfo = "yoga-tvOS"; 289 | }; 290 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 291 | isa = PBXContainerItemProxy; 292 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 293 | proxyType = 2; 294 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 295 | remoteInfo = cxxreact; 296 | }; 297 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 298 | isa = PBXContainerItemProxy; 299 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 300 | proxyType = 2; 301 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 302 | remoteInfo = "cxxreact-tvOS"; 303 | }; 304 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 305 | isa = PBXContainerItemProxy; 306 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 307 | proxyType = 2; 308 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 309 | remoteInfo = RCTAnimation; 310 | }; 311 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 312 | isa = PBXContainerItemProxy; 313 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 314 | proxyType = 2; 315 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 316 | remoteInfo = "RCTAnimation-tvOS"; 317 | }; 318 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 319 | isa = PBXContainerItemProxy; 320 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 321 | proxyType = 2; 322 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 323 | remoteInfo = RCTLinking; 324 | }; 325 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 326 | isa = PBXContainerItemProxy; 327 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 328 | proxyType = 2; 329 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 330 | remoteInfo = RCTText; 331 | }; 332 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 333 | isa = PBXContainerItemProxy; 334 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 335 | proxyType = 2; 336 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 337 | remoteInfo = RCTBlob; 338 | }; 339 | /* End PBXContainerItemProxy section */ 340 | 341 | /* Begin PBXCopyFilesBuildPhase section */ 342 | 22C29EFB22660B9F0067EDA6 /* Embed Frameworks */ = { 343 | isa = PBXCopyFilesBuildPhase; 344 | buildActionMask = 2147483647; 345 | dstPath = ""; 346 | dstSubfolderSpec = 10; 347 | files = ( 348 | 22C29EFA22660B9E0067EDA6 /* WebRTC.framework in Embed Frameworks */, 349 | ); 350 | name = "Embed Frameworks"; 351 | runOnlyForDeploymentPostprocessing = 0; 352 | }; 353 | /* End PBXCopyFilesBuildPhase section */ 354 | 355 | /* Begin PBXFileReference section */ 356 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 357 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 358 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 359 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 360 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 361 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 362 | 00E356EE1AD99517003FC87E /* RCTWebRTCDemo2Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RCTWebRTCDemo2Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 363 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 364 | 00E356F21AD99517003FC87E /* RCTWebRTCDemo2Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTWebRTCDemo2Tests.m; sourceTree = ""; }; 365 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 366 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 367 | 13B07F961A680F5B00A75B9A /* RCTWebRTCDemo2.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RCTWebRTCDemo2.app; sourceTree = BUILT_PRODUCTS_DIR; }; 368 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RCTWebRTCDemo2/AppDelegate.h; sourceTree = ""; }; 369 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = RCTWebRTCDemo2/AppDelegate.m; sourceTree = ""; }; 370 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 371 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RCTWebRTCDemo2/Images.xcassets; sourceTree = ""; }; 372 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RCTWebRTCDemo2/Info.plist; sourceTree = ""; }; 373 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RCTWebRTCDemo2/main.m; sourceTree = ""; }; 374 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 375 | 22C29EF122660A680067EDA6 /* RCTWebRTC.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebRTC.xcodeproj; path = "../node_modules/react-native-webrtc/ios/RCTWebRTC.xcodeproj"; sourceTree = ""; }; 376 | 22C29EF722660AA20067EDA6 /* WebRTC.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebRTC.framework; path = "../node_modules/react-native-webrtc/ios/WebRTC.framework"; sourceTree = ""; }; 377 | 22C29EFD22660C170067EDA6 /* VideoToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VideoToolbox.framework; path = System/Library/Frameworks/VideoToolbox.framework; sourceTree = SDKROOT; }; 378 | 22C29EFE22660C180067EDA6 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; 379 | 22C29EFF22660C180067EDA6 /* GLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLKit.framework; path = System/Library/Frameworks/GLKit.framework; sourceTree = SDKROOT; }; 380 | 22C29F0022660C180067EDA6 /* libc.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libc.tbd; path = usr/lib/libc.tbd; sourceTree = SDKROOT; }; 381 | 22C29F0122660C180067EDA6 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; 382 | 22C29F0222660C180067EDA6 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 383 | 22C29F0322660C180067EDA6 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; 384 | 22C29F0422660C180067EDA6 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; }; 385 | 22C29F0522660C180067EDA6 /* CoreVideo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreVideo.framework; path = System/Library/Frameworks/CoreVideo.framework; sourceTree = SDKROOT; }; 386 | 22C29F0622660C180067EDA6 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; }; 387 | 2D02E47B1E0B4A5D006451C7 /* RCTWebRTCDemo2-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RCTWebRTCDemo2-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 388 | 2D02E4901E0B4A5D006451C7 /* RCTWebRTCDemo2-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "RCTWebRTCDemo2-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 389 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 390 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 391 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 392 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 393 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 394 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 395 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; 396 | /* End PBXFileReference section */ 397 | 398 | /* Begin PBXFrameworksBuildPhase section */ 399 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 400 | isa = PBXFrameworksBuildPhase; 401 | buildActionMask = 2147483647; 402 | files = ( 403 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 404 | ); 405 | runOnlyForDeploymentPostprocessing = 0; 406 | }; 407 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 408 | isa = PBXFrameworksBuildPhase; 409 | buildActionMask = 2147483647; 410 | files = ( 411 | 22C29F0722660C180067EDA6 /* VideoToolbox.framework in Frameworks */, 412 | 22C29F0822660C180067EDA6 /* AudioToolbox.framework in Frameworks */, 413 | 22C29F0922660C180067EDA6 /* GLKit.framework in Frameworks */, 414 | 22C29F0A22660C180067EDA6 /* libc.tbd in Frameworks */, 415 | 22C29F0B22660C180067EDA6 /* AVFoundation.framework in Frameworks */, 416 | 22C29F0C22660C180067EDA6 /* CoreGraphics.framework in Frameworks */, 417 | 22C29F0D22660C180067EDA6 /* libc++.tbd in Frameworks */, 418 | 22C29F0E22660C180067EDA6 /* CoreAudio.framework in Frameworks */, 419 | 22C29F0F22660C180067EDA6 /* CoreVideo.framework in Frameworks */, 420 | 22C29F1022660C180067EDA6 /* libsqlite3.tbd in Frameworks */, 421 | 22C29EFC22660BE90067EDA6 /* libRCTWebRTC.a in Frameworks */, 422 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */, 423 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 424 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */, 425 | 22C29EF822660AA20067EDA6 /* WebRTC.framework in Frameworks */, 426 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 427 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 428 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 429 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 430 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 431 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 432 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 433 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 434 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 435 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 436 | ); 437 | runOnlyForDeploymentPostprocessing = 0; 438 | }; 439 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 440 | isa = PBXFrameworksBuildPhase; 441 | buildActionMask = 2147483647; 442 | files = ( 443 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */, 444 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 445 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 446 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 447 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 448 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 449 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 450 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 451 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 452 | ); 453 | runOnlyForDeploymentPostprocessing = 0; 454 | }; 455 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 456 | isa = PBXFrameworksBuildPhase; 457 | buildActionMask = 2147483647; 458 | files = ( 459 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */, 460 | ); 461 | runOnlyForDeploymentPostprocessing = 0; 462 | }; 463 | /* End PBXFrameworksBuildPhase section */ 464 | 465 | /* Begin PBXGroup section */ 466 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 467 | isa = PBXGroup; 468 | children = ( 469 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 470 | ); 471 | name = Products; 472 | sourceTree = ""; 473 | }; 474 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 475 | isa = PBXGroup; 476 | children = ( 477 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 478 | ); 479 | name = Products; 480 | sourceTree = ""; 481 | }; 482 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 483 | isa = PBXGroup; 484 | children = ( 485 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 486 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 487 | ); 488 | name = Products; 489 | sourceTree = ""; 490 | }; 491 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 492 | isa = PBXGroup; 493 | children = ( 494 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 495 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 496 | ); 497 | name = Products; 498 | sourceTree = ""; 499 | }; 500 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 501 | isa = PBXGroup; 502 | children = ( 503 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 504 | ); 505 | name = Products; 506 | sourceTree = ""; 507 | }; 508 | 00E356EF1AD99517003FC87E /* RCTWebRTCDemo2Tests */ = { 509 | isa = PBXGroup; 510 | children = ( 511 | 00E356F21AD99517003FC87E /* RCTWebRTCDemo2Tests.m */, 512 | 00E356F01AD99517003FC87E /* Supporting Files */, 513 | ); 514 | path = RCTWebRTCDemo2Tests; 515 | sourceTree = ""; 516 | }; 517 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 518 | isa = PBXGroup; 519 | children = ( 520 | 00E356F11AD99517003FC87E /* Info.plist */, 521 | ); 522 | name = "Supporting Files"; 523 | sourceTree = ""; 524 | }; 525 | 139105B71AF99BAD00B5F7CC /* Products */ = { 526 | isa = PBXGroup; 527 | children = ( 528 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 529 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 530 | ); 531 | name = Products; 532 | sourceTree = ""; 533 | }; 534 | 139FDEE71B06529A00C62182 /* Products */ = { 535 | isa = PBXGroup; 536 | children = ( 537 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 538 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 539 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 540 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 541 | ); 542 | name = Products; 543 | sourceTree = ""; 544 | }; 545 | 13B07FAE1A68108700A75B9A /* RCTWebRTCDemo2 */ = { 546 | isa = PBXGroup; 547 | children = ( 548 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 549 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 550 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 551 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 552 | 13B07FB61A68108700A75B9A /* Info.plist */, 553 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 554 | 13B07FB71A68108700A75B9A /* main.m */, 555 | ); 556 | name = RCTWebRTCDemo2; 557 | sourceTree = ""; 558 | }; 559 | 146834001AC3E56700842450 /* Products */ = { 560 | isa = PBXGroup; 561 | children = ( 562 | 146834041AC3E56700842450 /* libReact.a */, 563 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 564 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 565 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 566 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 567 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 568 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */, 569 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */, 570 | 2DF0FFE32056DD460020B375 /* libthird-party.a */, 571 | 2DF0FFE52056DD460020B375 /* libthird-party.a */, 572 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */, 573 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */, 574 | 22C29EEA226608C60067EDA6 /* libjsi.a */, 575 | 22C29EEC226608C60067EDA6 /* libjsiexecutor.a */, 576 | 22C29EEE226608C60067EDA6 /* libjsi-tvOS.a */, 577 | 22C29EF0226608C60067EDA6 /* libjsiexecutor-tvOS.a */, 578 | ); 579 | name = Products; 580 | sourceTree = ""; 581 | }; 582 | 22C29EF222660A680067EDA6 /* Products */ = { 583 | isa = PBXGroup; 584 | children = ( 585 | 22C29EF622660A680067EDA6 /* libRCTWebRTC.a */, 586 | ); 587 | name = Products; 588 | sourceTree = ""; 589 | }; 590 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 591 | isa = PBXGroup; 592 | children = ( 593 | 22C29EFE22660C180067EDA6 /* AudioToolbox.framework */, 594 | 22C29F0122660C180067EDA6 /* AVFoundation.framework */, 595 | 22C29F0422660C180067EDA6 /* CoreAudio.framework */, 596 | 22C29F0222660C180067EDA6 /* CoreGraphics.framework */, 597 | 22C29F0522660C180067EDA6 /* CoreVideo.framework */, 598 | 22C29EFF22660C180067EDA6 /* GLKit.framework */, 599 | 22C29F0022660C180067EDA6 /* libc.tbd */, 600 | 22C29F0322660C180067EDA6 /* libc++.tbd */, 601 | 22C29F0622660C180067EDA6 /* libsqlite3.tbd */, 602 | 22C29EFD22660C170067EDA6 /* VideoToolbox.framework */, 603 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 604 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 605 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 606 | ); 607 | name = Frameworks; 608 | sourceTree = ""; 609 | }; 610 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 611 | isa = PBXGroup; 612 | children = ( 613 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 614 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 615 | ); 616 | name = Products; 617 | sourceTree = ""; 618 | }; 619 | 78C398B11ACF4ADC00677621 /* Products */ = { 620 | isa = PBXGroup; 621 | children = ( 622 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 623 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 624 | ); 625 | name = Products; 626 | sourceTree = ""; 627 | }; 628 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 629 | isa = PBXGroup; 630 | children = ( 631 | 22C29EF122660A680067EDA6 /* RCTWebRTC.xcodeproj */, 632 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 633 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 634 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 635 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 636 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 637 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 638 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 639 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 640 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 641 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 642 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 643 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 644 | ); 645 | name = Libraries; 646 | sourceTree = ""; 647 | }; 648 | 832341B11AAA6A8300B99B32 /* Products */ = { 649 | isa = PBXGroup; 650 | children = ( 651 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 652 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 653 | ); 654 | name = Products; 655 | sourceTree = ""; 656 | }; 657 | 83CBB9F61A601CBA00E9B192 = { 658 | isa = PBXGroup; 659 | children = ( 660 | 22C29EF722660AA20067EDA6 /* WebRTC.framework */, 661 | 13B07FAE1A68108700A75B9A /* RCTWebRTCDemo2 */, 662 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 663 | 00E356EF1AD99517003FC87E /* RCTWebRTCDemo2Tests */, 664 | 83CBBA001A601CBA00E9B192 /* Products */, 665 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 666 | ); 667 | indentWidth = 2; 668 | sourceTree = ""; 669 | tabWidth = 2; 670 | usesTabs = 0; 671 | }; 672 | 83CBBA001A601CBA00E9B192 /* Products */ = { 673 | isa = PBXGroup; 674 | children = ( 675 | 13B07F961A680F5B00A75B9A /* RCTWebRTCDemo2.app */, 676 | 00E356EE1AD99517003FC87E /* RCTWebRTCDemo2Tests.xctest */, 677 | 2D02E47B1E0B4A5D006451C7 /* RCTWebRTCDemo2-tvOS.app */, 678 | 2D02E4901E0B4A5D006451C7 /* RCTWebRTCDemo2-tvOSTests.xctest */, 679 | ); 680 | name = Products; 681 | sourceTree = ""; 682 | }; 683 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 684 | isa = PBXGroup; 685 | children = ( 686 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 687 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 688 | ); 689 | name = Products; 690 | sourceTree = ""; 691 | }; 692 | /* End PBXGroup section */ 693 | 694 | /* Begin PBXNativeTarget section */ 695 | 00E356ED1AD99517003FC87E /* RCTWebRTCDemo2Tests */ = { 696 | isa = PBXNativeTarget; 697 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RCTWebRTCDemo2Tests" */; 698 | buildPhases = ( 699 | 00E356EA1AD99517003FC87E /* Sources */, 700 | 00E356EB1AD99517003FC87E /* Frameworks */, 701 | 00E356EC1AD99517003FC87E /* Resources */, 702 | ); 703 | buildRules = ( 704 | ); 705 | dependencies = ( 706 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 707 | ); 708 | name = RCTWebRTCDemo2Tests; 709 | productName = RCTWebRTCDemo2Tests; 710 | productReference = 00E356EE1AD99517003FC87E /* RCTWebRTCDemo2Tests.xctest */; 711 | productType = "com.apple.product-type.bundle.unit-test"; 712 | }; 713 | 13B07F861A680F5B00A75B9A /* RCTWebRTCDemo2 */ = { 714 | isa = PBXNativeTarget; 715 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RCTWebRTCDemo2" */; 716 | buildPhases = ( 717 | 13B07F871A680F5B00A75B9A /* Sources */, 718 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 719 | 13B07F8E1A680F5B00A75B9A /* Resources */, 720 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 721 | 22C29EFB22660B9F0067EDA6 /* Embed Frameworks */, 722 | ); 723 | buildRules = ( 724 | ); 725 | dependencies = ( 726 | ); 727 | name = RCTWebRTCDemo2; 728 | productName = "Hello World"; 729 | productReference = 13B07F961A680F5B00A75B9A /* RCTWebRTCDemo2.app */; 730 | productType = "com.apple.product-type.application"; 731 | }; 732 | 2D02E47A1E0B4A5D006451C7 /* RCTWebRTCDemo2-tvOS */ = { 733 | isa = PBXNativeTarget; 734 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RCTWebRTCDemo2-tvOS" */; 735 | buildPhases = ( 736 | 2D02E4771E0B4A5D006451C7 /* Sources */, 737 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 738 | 2D02E4791E0B4A5D006451C7 /* Resources */, 739 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 740 | ); 741 | buildRules = ( 742 | ); 743 | dependencies = ( 744 | ); 745 | name = "RCTWebRTCDemo2-tvOS"; 746 | productName = "RCTWebRTCDemo2-tvOS"; 747 | productReference = 2D02E47B1E0B4A5D006451C7 /* RCTWebRTCDemo2-tvOS.app */; 748 | productType = "com.apple.product-type.application"; 749 | }; 750 | 2D02E48F1E0B4A5D006451C7 /* RCTWebRTCDemo2-tvOSTests */ = { 751 | isa = PBXNativeTarget; 752 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RCTWebRTCDemo2-tvOSTests" */; 753 | buildPhases = ( 754 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 755 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 756 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 757 | ); 758 | buildRules = ( 759 | ); 760 | dependencies = ( 761 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 762 | ); 763 | name = "RCTWebRTCDemo2-tvOSTests"; 764 | productName = "RCTWebRTCDemo2-tvOSTests"; 765 | productReference = 2D02E4901E0B4A5D006451C7 /* RCTWebRTCDemo2-tvOSTests.xctest */; 766 | productType = "com.apple.product-type.bundle.unit-test"; 767 | }; 768 | /* End PBXNativeTarget section */ 769 | 770 | /* Begin PBXProject section */ 771 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 772 | isa = PBXProject; 773 | attributes = { 774 | LastUpgradeCheck = 0940; 775 | ORGANIZATIONNAME = Facebook; 776 | TargetAttributes = { 777 | 00E356ED1AD99517003FC87E = { 778 | CreatedOnToolsVersion = 6.2; 779 | DevelopmentTeam = XUR79AX4X5; 780 | TestTargetID = 13B07F861A680F5B00A75B9A; 781 | }; 782 | 13B07F861A680F5B00A75B9A = { 783 | DevelopmentTeam = XUR79AX4X5; 784 | }; 785 | 2D02E47A1E0B4A5D006451C7 = { 786 | CreatedOnToolsVersion = 8.2.1; 787 | ProvisioningStyle = Automatic; 788 | }; 789 | 2D02E48F1E0B4A5D006451C7 = { 790 | CreatedOnToolsVersion = 8.2.1; 791 | ProvisioningStyle = Automatic; 792 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 793 | }; 794 | }; 795 | }; 796 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RCTWebRTCDemo2" */; 797 | compatibilityVersion = "Xcode 3.2"; 798 | developmentRegion = English; 799 | hasScannedForEncodings = 0; 800 | knownRegions = ( 801 | en, 802 | Base, 803 | ); 804 | mainGroup = 83CBB9F61A601CBA00E9B192; 805 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 806 | projectDirPath = ""; 807 | projectReferences = ( 808 | { 809 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 810 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 811 | }, 812 | { 813 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 814 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 815 | }, 816 | { 817 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 818 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 819 | }, 820 | { 821 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 822 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 823 | }, 824 | { 825 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 826 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 827 | }, 828 | { 829 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 830 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 831 | }, 832 | { 833 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 834 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 835 | }, 836 | { 837 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 838 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 839 | }, 840 | { 841 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 842 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 843 | }, 844 | { 845 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 846 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 847 | }, 848 | { 849 | ProductGroup = 22C29EF222660A680067EDA6 /* Products */; 850 | ProjectRef = 22C29EF122660A680067EDA6 /* RCTWebRTC.xcodeproj */; 851 | }, 852 | { 853 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 854 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 855 | }, 856 | { 857 | ProductGroup = 146834001AC3E56700842450 /* Products */; 858 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 859 | }, 860 | ); 861 | projectRoot = ""; 862 | targets = ( 863 | 13B07F861A680F5B00A75B9A /* RCTWebRTCDemo2 */, 864 | 00E356ED1AD99517003FC87E /* RCTWebRTCDemo2Tests */, 865 | 2D02E47A1E0B4A5D006451C7 /* RCTWebRTCDemo2-tvOS */, 866 | 2D02E48F1E0B4A5D006451C7 /* RCTWebRTCDemo2-tvOSTests */, 867 | ); 868 | }; 869 | /* End PBXProject section */ 870 | 871 | /* Begin PBXReferenceProxy section */ 872 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 873 | isa = PBXReferenceProxy; 874 | fileType = archive.ar; 875 | path = libRCTActionSheet.a; 876 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 877 | sourceTree = BUILT_PRODUCTS_DIR; 878 | }; 879 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 880 | isa = PBXReferenceProxy; 881 | fileType = archive.ar; 882 | path = libRCTGeolocation.a; 883 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 884 | sourceTree = BUILT_PRODUCTS_DIR; 885 | }; 886 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 887 | isa = PBXReferenceProxy; 888 | fileType = archive.ar; 889 | path = libRCTImage.a; 890 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 891 | sourceTree = BUILT_PRODUCTS_DIR; 892 | }; 893 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 894 | isa = PBXReferenceProxy; 895 | fileType = archive.ar; 896 | path = libRCTNetwork.a; 897 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 898 | sourceTree = BUILT_PRODUCTS_DIR; 899 | }; 900 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 901 | isa = PBXReferenceProxy; 902 | fileType = archive.ar; 903 | path = libRCTVibration.a; 904 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 905 | sourceTree = BUILT_PRODUCTS_DIR; 906 | }; 907 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 908 | isa = PBXReferenceProxy; 909 | fileType = archive.ar; 910 | path = libRCTSettings.a; 911 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 912 | sourceTree = BUILT_PRODUCTS_DIR; 913 | }; 914 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 915 | isa = PBXReferenceProxy; 916 | fileType = archive.ar; 917 | path = libRCTWebSocket.a; 918 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 919 | sourceTree = BUILT_PRODUCTS_DIR; 920 | }; 921 | 146834041AC3E56700842450 /* libReact.a */ = { 922 | isa = PBXReferenceProxy; 923 | fileType = archive.ar; 924 | path = libReact.a; 925 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 926 | sourceTree = BUILT_PRODUCTS_DIR; 927 | }; 928 | 22C29EEA226608C60067EDA6 /* libjsi.a */ = { 929 | isa = PBXReferenceProxy; 930 | fileType = archive.ar; 931 | path = libjsi.a; 932 | remoteRef = 22C29EE9226608C60067EDA6 /* PBXContainerItemProxy */; 933 | sourceTree = BUILT_PRODUCTS_DIR; 934 | }; 935 | 22C29EEC226608C60067EDA6 /* libjsiexecutor.a */ = { 936 | isa = PBXReferenceProxy; 937 | fileType = archive.ar; 938 | path = libjsiexecutor.a; 939 | remoteRef = 22C29EEB226608C60067EDA6 /* PBXContainerItemProxy */; 940 | sourceTree = BUILT_PRODUCTS_DIR; 941 | }; 942 | 22C29EEE226608C60067EDA6 /* libjsi-tvOS.a */ = { 943 | isa = PBXReferenceProxy; 944 | fileType = archive.ar; 945 | path = "libjsi-tvOS.a"; 946 | remoteRef = 22C29EED226608C60067EDA6 /* PBXContainerItemProxy */; 947 | sourceTree = BUILT_PRODUCTS_DIR; 948 | }; 949 | 22C29EF0226608C60067EDA6 /* libjsiexecutor-tvOS.a */ = { 950 | isa = PBXReferenceProxy; 951 | fileType = archive.ar; 952 | path = "libjsiexecutor-tvOS.a"; 953 | remoteRef = 22C29EEF226608C60067EDA6 /* PBXContainerItemProxy */; 954 | sourceTree = BUILT_PRODUCTS_DIR; 955 | }; 956 | 22C29EF622660A680067EDA6 /* libRCTWebRTC.a */ = { 957 | isa = PBXReferenceProxy; 958 | fileType = archive.ar; 959 | path = libRCTWebRTC.a; 960 | remoteRef = 22C29EF522660A680067EDA6 /* PBXContainerItemProxy */; 961 | sourceTree = BUILT_PRODUCTS_DIR; 962 | }; 963 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 964 | isa = PBXReferenceProxy; 965 | fileType = archive.ar; 966 | path = "libRCTBlob-tvOS.a"; 967 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 968 | sourceTree = BUILT_PRODUCTS_DIR; 969 | }; 970 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 971 | isa = PBXReferenceProxy; 972 | fileType = archive.ar; 973 | path = libfishhook.a; 974 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 975 | sourceTree = BUILT_PRODUCTS_DIR; 976 | }; 977 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 978 | isa = PBXReferenceProxy; 979 | fileType = archive.ar; 980 | path = "libfishhook-tvOS.a"; 981 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 982 | sourceTree = BUILT_PRODUCTS_DIR; 983 | }; 984 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = { 985 | isa = PBXReferenceProxy; 986 | fileType = archive.ar; 987 | path = libjsinspector.a; 988 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */; 989 | sourceTree = BUILT_PRODUCTS_DIR; 990 | }; 991 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = { 992 | isa = PBXReferenceProxy; 993 | fileType = archive.ar; 994 | path = "libjsinspector-tvOS.a"; 995 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */; 996 | sourceTree = BUILT_PRODUCTS_DIR; 997 | }; 998 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = { 999 | isa = PBXReferenceProxy; 1000 | fileType = archive.ar; 1001 | path = "libthird-party.a"; 1002 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */; 1003 | sourceTree = BUILT_PRODUCTS_DIR; 1004 | }; 1005 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = { 1006 | isa = PBXReferenceProxy; 1007 | fileType = archive.ar; 1008 | path = "libthird-party.a"; 1009 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */; 1010 | sourceTree = BUILT_PRODUCTS_DIR; 1011 | }; 1012 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = { 1013 | isa = PBXReferenceProxy; 1014 | fileType = archive.ar; 1015 | path = "libdouble-conversion.a"; 1016 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */; 1017 | sourceTree = BUILT_PRODUCTS_DIR; 1018 | }; 1019 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = { 1020 | isa = PBXReferenceProxy; 1021 | fileType = archive.ar; 1022 | path = "libdouble-conversion.a"; 1023 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */; 1024 | sourceTree = BUILT_PRODUCTS_DIR; 1025 | }; 1026 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 1027 | isa = PBXReferenceProxy; 1028 | fileType = archive.ar; 1029 | path = "libRCTImage-tvOS.a"; 1030 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 1031 | sourceTree = BUILT_PRODUCTS_DIR; 1032 | }; 1033 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 1034 | isa = PBXReferenceProxy; 1035 | fileType = archive.ar; 1036 | path = "libRCTLinking-tvOS.a"; 1037 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 1038 | sourceTree = BUILT_PRODUCTS_DIR; 1039 | }; 1040 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 1041 | isa = PBXReferenceProxy; 1042 | fileType = archive.ar; 1043 | path = "libRCTNetwork-tvOS.a"; 1044 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 1045 | sourceTree = BUILT_PRODUCTS_DIR; 1046 | }; 1047 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 1048 | isa = PBXReferenceProxy; 1049 | fileType = archive.ar; 1050 | path = "libRCTSettings-tvOS.a"; 1051 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 1052 | sourceTree = BUILT_PRODUCTS_DIR; 1053 | }; 1054 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 1055 | isa = PBXReferenceProxy; 1056 | fileType = archive.ar; 1057 | path = "libRCTText-tvOS.a"; 1058 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 1059 | sourceTree = BUILT_PRODUCTS_DIR; 1060 | }; 1061 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 1062 | isa = PBXReferenceProxy; 1063 | fileType = archive.ar; 1064 | path = "libRCTWebSocket-tvOS.a"; 1065 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 1066 | sourceTree = BUILT_PRODUCTS_DIR; 1067 | }; 1068 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 1069 | isa = PBXReferenceProxy; 1070 | fileType = archive.ar; 1071 | path = libReact.a; 1072 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 1073 | sourceTree = BUILT_PRODUCTS_DIR; 1074 | }; 1075 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 1076 | isa = PBXReferenceProxy; 1077 | fileType = archive.ar; 1078 | path = libyoga.a; 1079 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 1080 | sourceTree = BUILT_PRODUCTS_DIR; 1081 | }; 1082 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 1083 | isa = PBXReferenceProxy; 1084 | fileType = archive.ar; 1085 | path = libyoga.a; 1086 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 1087 | sourceTree = BUILT_PRODUCTS_DIR; 1088 | }; 1089 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 1090 | isa = PBXReferenceProxy; 1091 | fileType = archive.ar; 1092 | path = libcxxreact.a; 1093 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 1094 | sourceTree = BUILT_PRODUCTS_DIR; 1095 | }; 1096 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 1097 | isa = PBXReferenceProxy; 1098 | fileType = archive.ar; 1099 | path = libcxxreact.a; 1100 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 1101 | sourceTree = BUILT_PRODUCTS_DIR; 1102 | }; 1103 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1104 | isa = PBXReferenceProxy; 1105 | fileType = archive.ar; 1106 | path = libRCTAnimation.a; 1107 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1108 | sourceTree = BUILT_PRODUCTS_DIR; 1109 | }; 1110 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1111 | isa = PBXReferenceProxy; 1112 | fileType = archive.ar; 1113 | path = libRCTAnimation.a; 1114 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1115 | sourceTree = BUILT_PRODUCTS_DIR; 1116 | }; 1117 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1118 | isa = PBXReferenceProxy; 1119 | fileType = archive.ar; 1120 | path = libRCTLinking.a; 1121 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1122 | sourceTree = BUILT_PRODUCTS_DIR; 1123 | }; 1124 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1125 | isa = PBXReferenceProxy; 1126 | fileType = archive.ar; 1127 | path = libRCTText.a; 1128 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1129 | sourceTree = BUILT_PRODUCTS_DIR; 1130 | }; 1131 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1132 | isa = PBXReferenceProxy; 1133 | fileType = archive.ar; 1134 | path = libRCTBlob.a; 1135 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1136 | sourceTree = BUILT_PRODUCTS_DIR; 1137 | }; 1138 | /* End PBXReferenceProxy section */ 1139 | 1140 | /* Begin PBXResourcesBuildPhase section */ 1141 | 00E356EC1AD99517003FC87E /* Resources */ = { 1142 | isa = PBXResourcesBuildPhase; 1143 | buildActionMask = 2147483647; 1144 | files = ( 1145 | ); 1146 | runOnlyForDeploymentPostprocessing = 0; 1147 | }; 1148 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1149 | isa = PBXResourcesBuildPhase; 1150 | buildActionMask = 2147483647; 1151 | files = ( 1152 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1153 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1154 | ); 1155 | runOnlyForDeploymentPostprocessing = 0; 1156 | }; 1157 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1158 | isa = PBXResourcesBuildPhase; 1159 | buildActionMask = 2147483647; 1160 | files = ( 1161 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1162 | ); 1163 | runOnlyForDeploymentPostprocessing = 0; 1164 | }; 1165 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1166 | isa = PBXResourcesBuildPhase; 1167 | buildActionMask = 2147483647; 1168 | files = ( 1169 | ); 1170 | runOnlyForDeploymentPostprocessing = 0; 1171 | }; 1172 | /* End PBXResourcesBuildPhase section */ 1173 | 1174 | /* Begin PBXShellScriptBuildPhase section */ 1175 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1176 | isa = PBXShellScriptBuildPhase; 1177 | buildActionMask = 2147483647; 1178 | files = ( 1179 | ); 1180 | inputPaths = ( 1181 | ); 1182 | name = "Bundle React Native code and images"; 1183 | outputPaths = ( 1184 | ); 1185 | runOnlyForDeploymentPostprocessing = 0; 1186 | shellPath = /bin/sh; 1187 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1188 | }; 1189 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1190 | isa = PBXShellScriptBuildPhase; 1191 | buildActionMask = 2147483647; 1192 | files = ( 1193 | ); 1194 | inputPaths = ( 1195 | ); 1196 | name = "Bundle React Native Code And Images"; 1197 | outputPaths = ( 1198 | ); 1199 | runOnlyForDeploymentPostprocessing = 0; 1200 | shellPath = /bin/sh; 1201 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1202 | }; 1203 | /* End PBXShellScriptBuildPhase section */ 1204 | 1205 | /* Begin PBXSourcesBuildPhase section */ 1206 | 00E356EA1AD99517003FC87E /* Sources */ = { 1207 | isa = PBXSourcesBuildPhase; 1208 | buildActionMask = 2147483647; 1209 | files = ( 1210 | 00E356F31AD99517003FC87E /* RCTWebRTCDemo2Tests.m in Sources */, 1211 | ); 1212 | runOnlyForDeploymentPostprocessing = 0; 1213 | }; 1214 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1215 | isa = PBXSourcesBuildPhase; 1216 | buildActionMask = 2147483647; 1217 | files = ( 1218 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1219 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1220 | ); 1221 | runOnlyForDeploymentPostprocessing = 0; 1222 | }; 1223 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1224 | isa = PBXSourcesBuildPhase; 1225 | buildActionMask = 2147483647; 1226 | files = ( 1227 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1228 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1229 | ); 1230 | runOnlyForDeploymentPostprocessing = 0; 1231 | }; 1232 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1233 | isa = PBXSourcesBuildPhase; 1234 | buildActionMask = 2147483647; 1235 | files = ( 1236 | 2DCD954D1E0B4F2C00145EB5 /* RCTWebRTCDemo2Tests.m in Sources */, 1237 | ); 1238 | runOnlyForDeploymentPostprocessing = 0; 1239 | }; 1240 | /* End PBXSourcesBuildPhase section */ 1241 | 1242 | /* Begin PBXTargetDependency section */ 1243 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1244 | isa = PBXTargetDependency; 1245 | target = 13B07F861A680F5B00A75B9A /* RCTWebRTCDemo2 */; 1246 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1247 | }; 1248 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1249 | isa = PBXTargetDependency; 1250 | target = 2D02E47A1E0B4A5D006451C7 /* RCTWebRTCDemo2-tvOS */; 1251 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1252 | }; 1253 | /* End PBXTargetDependency section */ 1254 | 1255 | /* Begin PBXVariantGroup section */ 1256 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1257 | isa = PBXVariantGroup; 1258 | children = ( 1259 | 13B07FB21A68108700A75B9A /* Base */, 1260 | ); 1261 | name = LaunchScreen.xib; 1262 | path = RCTWebRTCDemo2; 1263 | sourceTree = ""; 1264 | }; 1265 | /* End PBXVariantGroup section */ 1266 | 1267 | /* Begin XCBuildConfiguration section */ 1268 | 00E356F61AD99517003FC87E /* Debug */ = { 1269 | isa = XCBuildConfiguration; 1270 | buildSettings = { 1271 | BUNDLE_LOADER = "$(TEST_HOST)"; 1272 | DEVELOPMENT_TEAM = XUR79AX4X5; 1273 | GCC_PREPROCESSOR_DEFINITIONS = ( 1274 | "DEBUG=1", 1275 | "$(inherited)", 1276 | ); 1277 | INFOPLIST_FILE = RCTWebRTCDemo2Tests/Info.plist; 1278 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1279 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1280 | OTHER_LDFLAGS = ( 1281 | "-ObjC", 1282 | "-lc++", 1283 | ); 1284 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1285 | PRODUCT_NAME = "$(TARGET_NAME)"; 1286 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RCTWebRTCDemo2.app/RCTWebRTCDemo2"; 1287 | }; 1288 | name = Debug; 1289 | }; 1290 | 00E356F71AD99517003FC87E /* Release */ = { 1291 | isa = XCBuildConfiguration; 1292 | buildSettings = { 1293 | BUNDLE_LOADER = "$(TEST_HOST)"; 1294 | COPY_PHASE_STRIP = NO; 1295 | DEVELOPMENT_TEAM = XUR79AX4X5; 1296 | INFOPLIST_FILE = RCTWebRTCDemo2Tests/Info.plist; 1297 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1298 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1299 | OTHER_LDFLAGS = ( 1300 | "-ObjC", 1301 | "-lc++", 1302 | ); 1303 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1304 | PRODUCT_NAME = "$(TARGET_NAME)"; 1305 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RCTWebRTCDemo2.app/RCTWebRTCDemo2"; 1306 | }; 1307 | name = Release; 1308 | }; 1309 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1310 | isa = XCBuildConfiguration; 1311 | buildSettings = { 1312 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1313 | CURRENT_PROJECT_VERSION = 1; 1314 | DEAD_CODE_STRIPPING = NO; 1315 | DEVELOPMENT_TEAM = XUR79AX4X5; 1316 | INFOPLIST_FILE = RCTWebRTCDemo2/Info.plist; 1317 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1318 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1319 | OTHER_LDFLAGS = ( 1320 | "$(inherited)", 1321 | "-ObjC", 1322 | "-lc++", 1323 | ); 1324 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1325 | PRODUCT_NAME = RCTWebRTCDemo2; 1326 | VERSIONING_SYSTEM = "apple-generic"; 1327 | }; 1328 | name = Debug; 1329 | }; 1330 | 13B07F951A680F5B00A75B9A /* Release */ = { 1331 | isa = XCBuildConfiguration; 1332 | buildSettings = { 1333 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1334 | CURRENT_PROJECT_VERSION = 1; 1335 | DEVELOPMENT_TEAM = XUR79AX4X5; 1336 | INFOPLIST_FILE = RCTWebRTCDemo2/Info.plist; 1337 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1338 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1339 | OTHER_LDFLAGS = ( 1340 | "$(inherited)", 1341 | "-ObjC", 1342 | "-lc++", 1343 | ); 1344 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1345 | PRODUCT_NAME = RCTWebRTCDemo2; 1346 | VERSIONING_SYSTEM = "apple-generic"; 1347 | }; 1348 | name = Release; 1349 | }; 1350 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1351 | isa = XCBuildConfiguration; 1352 | buildSettings = { 1353 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1354 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1355 | CLANG_ANALYZER_NONNULL = YES; 1356 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1357 | CLANG_WARN_INFINITE_RECURSION = YES; 1358 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1359 | DEBUG_INFORMATION_FORMAT = dwarf; 1360 | ENABLE_TESTABILITY = YES; 1361 | GCC_NO_COMMON_BLOCKS = YES; 1362 | INFOPLIST_FILE = "RCTWebRTCDemo2-tvOS/Info.plist"; 1363 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1364 | OTHER_LDFLAGS = ( 1365 | "-ObjC", 1366 | "-lc++", 1367 | ); 1368 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RCTWebRTCDemo2-tvOS"; 1369 | PRODUCT_NAME = "$(TARGET_NAME)"; 1370 | SDKROOT = appletvos; 1371 | TARGETED_DEVICE_FAMILY = 3; 1372 | TVOS_DEPLOYMENT_TARGET = 9.2; 1373 | }; 1374 | name = Debug; 1375 | }; 1376 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1377 | isa = XCBuildConfiguration; 1378 | buildSettings = { 1379 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1380 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1381 | CLANG_ANALYZER_NONNULL = YES; 1382 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1383 | CLANG_WARN_INFINITE_RECURSION = YES; 1384 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1385 | COPY_PHASE_STRIP = NO; 1386 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1387 | GCC_NO_COMMON_BLOCKS = YES; 1388 | INFOPLIST_FILE = "RCTWebRTCDemo2-tvOS/Info.plist"; 1389 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1390 | OTHER_LDFLAGS = ( 1391 | "-ObjC", 1392 | "-lc++", 1393 | ); 1394 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RCTWebRTCDemo2-tvOS"; 1395 | PRODUCT_NAME = "$(TARGET_NAME)"; 1396 | SDKROOT = appletvos; 1397 | TARGETED_DEVICE_FAMILY = 3; 1398 | TVOS_DEPLOYMENT_TARGET = 9.2; 1399 | }; 1400 | name = Release; 1401 | }; 1402 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1403 | isa = XCBuildConfiguration; 1404 | buildSettings = { 1405 | BUNDLE_LOADER = "$(TEST_HOST)"; 1406 | CLANG_ANALYZER_NONNULL = YES; 1407 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1408 | CLANG_WARN_INFINITE_RECURSION = YES; 1409 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1410 | DEBUG_INFORMATION_FORMAT = dwarf; 1411 | ENABLE_TESTABILITY = YES; 1412 | GCC_NO_COMMON_BLOCKS = YES; 1413 | INFOPLIST_FILE = "RCTWebRTCDemo2-tvOSTests/Info.plist"; 1414 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1415 | OTHER_LDFLAGS = ( 1416 | "-ObjC", 1417 | "-lc++", 1418 | ); 1419 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RCTWebRTCDemo2-tvOSTests"; 1420 | PRODUCT_NAME = "$(TARGET_NAME)"; 1421 | SDKROOT = appletvos; 1422 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RCTWebRTCDemo2-tvOS.app/RCTWebRTCDemo2-tvOS"; 1423 | TVOS_DEPLOYMENT_TARGET = 10.1; 1424 | }; 1425 | name = Debug; 1426 | }; 1427 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1428 | isa = XCBuildConfiguration; 1429 | buildSettings = { 1430 | BUNDLE_LOADER = "$(TEST_HOST)"; 1431 | CLANG_ANALYZER_NONNULL = YES; 1432 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1433 | CLANG_WARN_INFINITE_RECURSION = YES; 1434 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1435 | COPY_PHASE_STRIP = NO; 1436 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1437 | GCC_NO_COMMON_BLOCKS = YES; 1438 | INFOPLIST_FILE = "RCTWebRTCDemo2-tvOSTests/Info.plist"; 1439 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1440 | OTHER_LDFLAGS = ( 1441 | "-ObjC", 1442 | "-lc++", 1443 | ); 1444 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RCTWebRTCDemo2-tvOSTests"; 1445 | PRODUCT_NAME = "$(TARGET_NAME)"; 1446 | SDKROOT = appletvos; 1447 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RCTWebRTCDemo2-tvOS.app/RCTWebRTCDemo2-tvOS"; 1448 | TVOS_DEPLOYMENT_TARGET = 10.1; 1449 | }; 1450 | name = Release; 1451 | }; 1452 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1453 | isa = XCBuildConfiguration; 1454 | buildSettings = { 1455 | ALWAYS_SEARCH_USER_PATHS = NO; 1456 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1457 | CLANG_CXX_LIBRARY = "libc++"; 1458 | CLANG_ENABLE_MODULES = YES; 1459 | CLANG_ENABLE_OBJC_ARC = YES; 1460 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1461 | CLANG_WARN_BOOL_CONVERSION = YES; 1462 | CLANG_WARN_COMMA = YES; 1463 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1464 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1465 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1466 | CLANG_WARN_EMPTY_BODY = YES; 1467 | CLANG_WARN_ENUM_CONVERSION = YES; 1468 | CLANG_WARN_INFINITE_RECURSION = YES; 1469 | CLANG_WARN_INT_CONVERSION = YES; 1470 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1471 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1472 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1473 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1474 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1475 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1476 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1477 | CLANG_WARN_UNREACHABLE_CODE = YES; 1478 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1479 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1480 | COPY_PHASE_STRIP = NO; 1481 | DEAD_CODE_STRIPPING = NO; 1482 | ENABLE_BITCODE = NO; 1483 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1484 | ENABLE_TESTABILITY = YES; 1485 | FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-webrtc/ios/**"; 1486 | GCC_C_LANGUAGE_STANDARD = gnu99; 1487 | GCC_DYNAMIC_NO_PIC = NO; 1488 | GCC_NO_COMMON_BLOCKS = YES; 1489 | GCC_OPTIMIZATION_LEVEL = 0; 1490 | GCC_PREPROCESSOR_DEFINITIONS = ( 1491 | "DEBUG=1", 1492 | "$(inherited)", 1493 | ); 1494 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1495 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1496 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1497 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1498 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1499 | GCC_WARN_UNUSED_FUNCTION = YES; 1500 | GCC_WARN_UNUSED_VARIABLE = YES; 1501 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1502 | LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-webrtc/ios/**"; 1503 | MTL_ENABLE_DEBUG_INFO = YES; 1504 | ONLY_ACTIVE_ARCH = YES; 1505 | SDKROOT = iphoneos; 1506 | }; 1507 | name = Debug; 1508 | }; 1509 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1510 | isa = XCBuildConfiguration; 1511 | buildSettings = { 1512 | ALWAYS_SEARCH_USER_PATHS = NO; 1513 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1514 | CLANG_CXX_LIBRARY = "libc++"; 1515 | CLANG_ENABLE_MODULES = YES; 1516 | CLANG_ENABLE_OBJC_ARC = YES; 1517 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1518 | CLANG_WARN_BOOL_CONVERSION = YES; 1519 | CLANG_WARN_COMMA = YES; 1520 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1521 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1522 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1523 | CLANG_WARN_EMPTY_BODY = YES; 1524 | CLANG_WARN_ENUM_CONVERSION = YES; 1525 | CLANG_WARN_INFINITE_RECURSION = YES; 1526 | CLANG_WARN_INT_CONVERSION = YES; 1527 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1528 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1529 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1530 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1531 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1532 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1533 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1534 | CLANG_WARN_UNREACHABLE_CODE = YES; 1535 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1536 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1537 | COPY_PHASE_STRIP = YES; 1538 | ENABLE_BITCODE = NO; 1539 | ENABLE_NS_ASSERTIONS = NO; 1540 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1541 | FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-webrtc/ios/**"; 1542 | GCC_C_LANGUAGE_STANDARD = gnu99; 1543 | GCC_NO_COMMON_BLOCKS = YES; 1544 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1545 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1546 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1547 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1548 | GCC_WARN_UNUSED_FUNCTION = YES; 1549 | GCC_WARN_UNUSED_VARIABLE = YES; 1550 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1551 | LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-webrtc/ios/**"; 1552 | MTL_ENABLE_DEBUG_INFO = NO; 1553 | SDKROOT = iphoneos; 1554 | VALIDATE_PRODUCT = YES; 1555 | }; 1556 | name = Release; 1557 | }; 1558 | /* End XCBuildConfiguration section */ 1559 | 1560 | /* Begin XCConfigurationList section */ 1561 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RCTWebRTCDemo2Tests" */ = { 1562 | isa = XCConfigurationList; 1563 | buildConfigurations = ( 1564 | 00E356F61AD99517003FC87E /* Debug */, 1565 | 00E356F71AD99517003FC87E /* Release */, 1566 | ); 1567 | defaultConfigurationIsVisible = 0; 1568 | defaultConfigurationName = Release; 1569 | }; 1570 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RCTWebRTCDemo2" */ = { 1571 | isa = XCConfigurationList; 1572 | buildConfigurations = ( 1573 | 13B07F941A680F5B00A75B9A /* Debug */, 1574 | 13B07F951A680F5B00A75B9A /* Release */, 1575 | ); 1576 | defaultConfigurationIsVisible = 0; 1577 | defaultConfigurationName = Release; 1578 | }; 1579 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RCTWebRTCDemo2-tvOS" */ = { 1580 | isa = XCConfigurationList; 1581 | buildConfigurations = ( 1582 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1583 | 2D02E4981E0B4A5E006451C7 /* Release */, 1584 | ); 1585 | defaultConfigurationIsVisible = 0; 1586 | defaultConfigurationName = Release; 1587 | }; 1588 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RCTWebRTCDemo2-tvOSTests" */ = { 1589 | isa = XCConfigurationList; 1590 | buildConfigurations = ( 1591 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1592 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1593 | ); 1594 | defaultConfigurationIsVisible = 0; 1595 | defaultConfigurationName = Release; 1596 | }; 1597 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RCTWebRTCDemo2" */ = { 1598 | isa = XCConfigurationList; 1599 | buildConfigurations = ( 1600 | 83CBBA201A601CBA00E9B192 /* Debug */, 1601 | 83CBBA211A601CBA00E9B192 /* Release */, 1602 | ); 1603 | defaultConfigurationIsVisible = 0; 1604 | defaultConfigurationName = Release; 1605 | }; 1606 | /* End XCConfigurationList section */ 1607 | }; 1608 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1609 | } 1610 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2.xcodeproj/xcshareddata/xcschemes/RCTWebRTCDemo2-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2.xcodeproj/xcshareddata/xcschemes/RCTWebRTCDemo2.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (nonatomic, strong) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | #import 13 | 14 | @implementation AppDelegate 15 | 16 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 17 | { 18 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 19 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 20 | moduleName:@"RCTWebRTCDemo2" 21 | initialProperties:nil]; 22 | 23 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 24 | 25 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 26 | UIViewController *rootViewController = [UIViewController new]; 27 | rootViewController.view = rootView; 28 | self.window.rootViewController = rootViewController; 29 | [self.window makeKeyAndVisible]; 30 | return YES; 31 | } 32 | 33 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 34 | { 35 | #if DEBUG 36 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 37 | #else 38 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 39 | #endif 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2/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" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | RCTWebRTCDemo2 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 | NSCameraUsageDescription 24 | Camera Permission 25 | NSMicrophoneUsageDescription 26 | Microphone Permission 27 | CFBundleVersion 28 | 1 29 | LSRequiresIPhoneOS 30 | 31 | NSLocationWhenInUseUsageDescription 32 | 33 | UILaunchStoryboardName 34 | LaunchScreen 35 | UIRequiredDeviceCapabilities 36 | 37 | armv7 38 | 39 | UISupportedInterfaceOrientations 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationLandscapeLeft 43 | UIInterfaceOrientationLandscapeRight 44 | 45 | UIViewControllerBasedStatusBarAppearance 46 | 47 | NSLocationWhenInUseUsageDescription 48 | 49 | NSAppTransportSecurity 50 | 51 | 52 | NSAllowsArbitraryLoads 53 | 54 | NSExceptionDomains 55 | 56 | localhost 57 | 58 | NSExceptionAllowsInsecureHTTPLoads 59 | 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2Tests/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 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/RCTWebRTCDemo2Tests/RCTWebRTCDemo2Tests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 16 | 17 | @interface RCTWebRTCDemo2Tests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation RCTWebRTCDemo2Tests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 44 | if (level >= RCTLogLevelError) { 45 | redboxError = message; 46 | } 47 | }); 48 | 49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 52 | 53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 55 | return YES; 56 | } 57 | return NO; 58 | }]; 59 | } 60 | 61 | RCTSetLogFunction(RCTDefaultLogFunction); 62 | 63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 65 | } 66 | 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /metro.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Metro configuration for React Native 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | */ 7 | 8 | module.exports = { 9 | transformer: { 10 | getTransformOptions: async () => ({ 11 | transform: { 12 | experimentalImportSupport: false, 13 | inlineRequires: false, 14 | }, 15 | }), 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RCTWebRTCDemo2", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest", 8 | "clean": "cd android && gradlew clean", 9 | "android": "react-native run-android", 10 | "reload": "adb shell input keyevent 82 && adb shell input keyevent 66 && adb shell input keyevent 66", 11 | "devmenu": "adb shell input keyevent 82", 12 | "reverse": "adb reverse tcp:8081 tcp:8081", 13 | "debug": "adb shell input keyevent 82 && adb shell input keyevent 61 && adb shell input keyevent 66 && adb shell input keyevent 66" 14 | }, 15 | "dependencies": { 16 | "react": "16.8.3", 17 | "react-native": "0.59.4", 18 | "react-native-webrtc": "1.67.1", 19 | "socket.io-client": "2.2.0" 20 | }, 21 | "devDependencies": { 22 | "@babel/core": "7.4.3", 23 | "@babel/runtime": "7.4.3", 24 | "babel-jest": "24.7.1", 25 | "jest": "24.7.1", 26 | "metro-react-native-babel-preset": "0.53.1", 27 | "react-test-renderer": "16.8.3" 28 | }, 29 | "jest": { 30 | "preset": "react-native" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { Text, TouchableOpacity, View, YellowBox } from 'react-native'; 3 | import { 4 | getUserMedia, 5 | RTCIceCandidate, 6 | RTCPeerConnection, 7 | RTCSessionDescription, 8 | RTCView, 9 | } from 'react-native-webrtc'; 10 | import io from 'socket.io-client'; 11 | import { button, container, rtcView, text } from './styles'; 12 | import { log, logError } from './debug'; 13 | 14 | YellowBox.ignoreWarnings([ 15 | 'Setting a timer', 16 | 'Unrecognized WebSocket connection', 17 | 'ListView is deprecated and will be removed', 18 | ]); 19 | 20 | /* ============================== 21 | Global variables 22 | ================================ */ 23 | const url = 'https://7e53e659f187.ngrok.io/'; 24 | const socket = io.connect(url, { transports: ['websocket'] }); 25 | const configuration = { 26 | iceServers: [{ urls: 'stun:stun.l.google.com:19302' }], 27 | }; 28 | 29 | let pcPeers = {}; 30 | let appClass; 31 | let localStream; 32 | 33 | /* ============================== 34 | Class 35 | ================================ */ 36 | class App extends Component { 37 | state = { 38 | info: 'Initializing', 39 | status: 'init', 40 | roomID: 'abc', 41 | isFront: true, 42 | streamURL: null, 43 | remoteList: {}, 44 | }; 45 | 46 | componentDidMount() { 47 | appClass = this; 48 | 49 | getLocalStream(); 50 | } 51 | 52 | switchCamera = () => { 53 | localStream.getVideoTracks().forEach(track => { 54 | track._switchCamera(); 55 | }); 56 | }; 57 | 58 | onPress = () => { 59 | this.setState({ 60 | status: 'connect', 61 | info: 'Connecting', 62 | }); 63 | 64 | join(this.state.roomID); 65 | }; 66 | 67 | button = (func, text) => ( 68 | 69 | {text} 70 | 71 | ); 72 | 73 | render() { 74 | const { status, info, streamURL, remoteList } = this.state; 75 | 76 | return ( 77 | 78 | {info} 79 | 80 | {status === 'ready' ? this.button(this.onPress, 'Enter room') : null} 81 | {this.button(this.switchCamera, 'Change Camera')} 82 | 83 | 84 | 85 | {mapHash(remoteList, (remote, index) => { 86 | return ( 87 | 88 | ); 89 | })} 90 | 91 | ); 92 | } 93 | } 94 | 95 | /* ============================== 96 | Functions 97 | ================================ */ 98 | const getLocalStream = () => { 99 | let isFront = true; 100 | 101 | let constrains = { 102 | audio: false, 103 | video: { 104 | mandatory: { 105 | minWidth: 640, 106 | minHeight: 360, 107 | minFrameRate: 30, 108 | }, 109 | facingMode: isFront ? 'user' : 'environment', 110 | }, 111 | }; 112 | let getStream = stream => { 113 | localStream = stream; 114 | 115 | appClass.setState({ 116 | streamURL: stream.toURL(), 117 | status: 'ready', 118 | info: 'Welcome to WebRTC demo', 119 | }); 120 | }; 121 | 122 | getUserMedia(constrains, getStream, logError); 123 | }; 124 | 125 | const join = roomID => { 126 | let onJoin = socketIds => { 127 | for (const i in socketIds) { 128 | if (socketIds.hasOwnProperty(i)) { 129 | const socketId = socketIds[i]; 130 | createPC(socketId, true); 131 | } 132 | } 133 | }; 134 | 135 | socket.emit('join', roomID, onJoin); 136 | }; 137 | 138 | const createPC = (socketId, isOffer) => { 139 | /** 140 | * Create the Peer Connection 141 | */ 142 | const peer = new RTCPeerConnection(configuration); 143 | 144 | log('Peer', peer); 145 | 146 | pcPeers = { 147 | ...pcPeers, 148 | [socketId]: peer, 149 | }; 150 | 151 | /** 152 | * On Negotiation Needed 153 | */ 154 | peer.onnegotiationneeded = () => { 155 | //console.log('onnegotiationneeded'); 156 | if (isOffer) { 157 | let callback = desc => { 158 | log('The SDP offer', desc.sdp); 159 | 160 | peer.setLocalDescription(desc, callback2, logError); 161 | }; 162 | let callback2 = () => { 163 | //console.log('setLocalDescription', peer.localDescription); 164 | socket.emit('exchange', { to: socketId, sdp: peer.localDescription }); 165 | }; 166 | 167 | peer.createOffer(callback, logError); 168 | } 169 | }; 170 | 171 | /** 172 | * (Deprecated) 173 | */ 174 | peer.addStream(localStream); 175 | 176 | /** 177 | * On Add Stream (Deprecated) 178 | */ 179 | peer.onaddstream = event => { 180 | //console.log('onaddstream', event.stream); 181 | const remoteList = appClass.state.remoteList; 182 | 183 | remoteList[socketId] = event.stream.toURL(); 184 | appClass.setState({ 185 | info: 'One peer join!', 186 | remoteList: remoteList, 187 | }); 188 | }; 189 | 190 | /** 191 | * On Ice Candidate 192 | */ 193 | peer.onicecandidate = event => { 194 | //console.log('onicecandidate', event.candidate); 195 | if (event.candidate) { 196 | socket.emit('exchange', { to: socketId, candidate: event.candidate }); 197 | } 198 | }; 199 | 200 | /** 201 | * On Ice Connection State Change 202 | */ 203 | peer.oniceconnectionstatechange = event => { 204 | //console.log('oniceconnectionstatechange', event.target.iceConnectionState); 205 | if (event.target.iceConnectionState === 'completed') { 206 | //console.log('event.target.iceConnectionState === 'completed''); 207 | setTimeout(() => { 208 | getStats(); 209 | }, 1000); 210 | } 211 | if (event.target.iceConnectionState === 'connected') { 212 | //console.log('event.target.iceConnectionState === 'connected''); 213 | } 214 | }; 215 | 216 | /** 217 | * On Signaling State Change 218 | */ 219 | peer.onsignalingstatechange = event => { 220 | //console.log('on signaling state change', event.target.signalingState); 221 | }; 222 | 223 | /** 224 | * On Remove Stream 225 | */ 226 | peer.onremovestream = event => { 227 | //console.log('on remove stream', event.stream); 228 | }; 229 | 230 | return peer; 231 | }; 232 | 233 | socket.on('connect', () => { 234 | //console.log('connect'); 235 | }); 236 | socket.on('exchange', data => { 237 | exchange(data); 238 | }); 239 | socket.on('leave', socketId => { 240 | leave(socketId); 241 | }); 242 | 243 | const exchange = data => { 244 | let fromId = data.from; 245 | 246 | if (data.sdp) { 247 | log('Exchange', data); 248 | } 249 | 250 | let peer; 251 | if (fromId in pcPeers) { 252 | peer = pcPeers[fromId]; 253 | } else { 254 | peer = createPC(fromId, false); 255 | } 256 | 257 | if (data.sdp) { 258 | //console.log('exchange sdp', data); 259 | let sdp = new RTCSessionDescription(data.sdp); 260 | 261 | let callback = () => 262 | peer.remoteDescription.type === 'offer' 263 | ? peer.createAnswer(callback2, logError) 264 | : null; 265 | let callback2 = desc => peer.setLocalDescription(desc, callback3, logError); 266 | let callback3 = () => 267 | socket.emit('exchange', { to: fromId, sdp: peer.localDescription }); 268 | 269 | peer.setRemoteDescription(sdp, callback, logError); 270 | } else { 271 | peer.addIceCandidate(new RTCIceCandidate(data.candidate)); 272 | } 273 | }; 274 | 275 | const leave = socketId => { 276 | //console.log('leave', socketId); 277 | 278 | const peer = pcPeers[socketId]; 279 | 280 | peer.close(); 281 | 282 | delete pcPeers[socketId]; 283 | 284 | const remoteList = appClass.state.remoteList; 285 | 286 | delete remoteList[socketId]; 287 | 288 | appClass.setState({ 289 | info: 'One peer left!', 290 | remoteList: remoteList, 291 | }); 292 | }; 293 | 294 | const mapHash = (hash, func) => { 295 | //console.log(hash); 296 | const array = []; 297 | for (const key in hash) { 298 | if (hash.hasOwnProperty(key)) { 299 | const obj = hash[key]; 300 | array.push(func(obj, key)); 301 | } 302 | } 303 | return array; 304 | }; 305 | 306 | const getStats = () => { 307 | const pc = pcPeers[Object.keys(pcPeers)[0]]; 308 | if ( 309 | pc.getRemoteStreams()[0] && 310 | pc.getRemoteStreams()[0].getAudioTracks()[0] 311 | ) { 312 | const track = pc.getRemoteStreams()[0].getAudioTracks()[0]; 313 | let callback = report => console.log('getStats report', report); 314 | 315 | //console.log('track', track); 316 | 317 | pc.getStats(track, callback, logError); 318 | } 319 | }; 320 | 321 | /* ============================== 322 | Export 323 | ================================ */ 324 | export default App; 325 | -------------------------------------------------------------------------------- /src/debug/index.js: -------------------------------------------------------------------------------- 1 | export { default as log } from './log'; 2 | export { default as logError } from './logError'; 3 | -------------------------------------------------------------------------------- /src/debug/log.js: -------------------------------------------------------------------------------- 1 | function log(log, value, type) { 2 | let count = 60; 3 | let i = 0; 4 | let str = ''; 5 | let z = count - log.length; 6 | 7 | for (i; i <= z; i++) { 8 | str += '_'; 9 | if (i === Math.floor(z / 2)) { 10 | str += log; 11 | } 12 | } 13 | console.log('%c' + str, 'font-size: 15px'); 14 | value !== undefined ? (type === 'table' ? console.table(value) : console.log(value)) : null; 15 | console.log('\n\n'); 16 | } 17 | 18 | export default log; -------------------------------------------------------------------------------- /src/debug/logError.js: -------------------------------------------------------------------------------- 1 | const logError = error => { 2 | console.log("logError", error); 3 | console.trace(); 4 | }; 5 | 6 | export default logError; -------------------------------------------------------------------------------- /src/styles/button.js: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from "react-native"; 2 | 3 | 4 | const button = StyleSheet.create({ 5 | container: { 6 | alignItems: 'center', 7 | }, 8 | style: { 9 | textAlign: 'center', 10 | borderWidth: 1, 11 | borderColor: 'black', 12 | width: '50%', 13 | margin: 10, 14 | padding: 10, 15 | borderRadius: 10, 16 | }, 17 | }); 18 | 19 | export default button; -------------------------------------------------------------------------------- /src/styles/container.js: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from "react-native"; 2 | 3 | 4 | const container = StyleSheet.create({ 5 | style: { 6 | flex: 1, 7 | flexDirection: 'column', 8 | }, 9 | }); 10 | 11 | export default container; -------------------------------------------------------------------------------- /src/styles/index.js: -------------------------------------------------------------------------------- 1 | export { default as button } from './button'; 2 | export { default as container } from './container'; 3 | export { default as rtcView } from './rtcView'; 4 | export { default as text } from './text'; 5 | -------------------------------------------------------------------------------- /src/styles/rtcView.js: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from "react-native"; 2 | 3 | 4 | const rtcView = StyleSheet.create({ 5 | style: { 6 | flex: 1, 7 | justifyContent: 'center', 8 | alignItems: 'center', 9 | height: 150, 10 | margin: 10, 11 | }, 12 | }); 13 | 14 | export default rtcView; -------------------------------------------------------------------------------- /src/styles/text.js: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from "react-native"; 2 | 3 | 4 | const text = StyleSheet.create({ 5 | style: { 6 | fontSize: 20, 7 | textAlign: "center", 8 | margin: 10, 9 | borderRadius: 10, 10 | }, 11 | }); 12 | 13 | export default text; --------------------------------------------------------------------------------