midas-gufei / react-native-ilive Goto Github PK
View Code? Open in Web Editor NEW腾讯互动直播iLive React-Native模块封装 支持iOS/Android
Home Page: https://cloud.tencent.com/document/product/268
腾讯互动直播iLive React-Native模块封装 支持iOS/Android
Home Page: https://cloud.tencent.com/document/product/268
TXCVideoPreprocessor.h not found error.
I have executed LoadSDK.sh as well and added it in my main project.
But I have getting above error.
Could you tell me what I have to do fix it ?
thanks
node版本 :8.9.3
react-native版本:0.54.0
配置文件 android/app/build.gradle:
apply plugin: "com.android.application"
import com.android.build.OutputFile
project.ext.react = [
entryFile: "index.js"
]
apply from: "../../node_modules/react-native/react.gradle"
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
dexOptions {
jumboMode true
}
defaultConfig {
applicationId "com.interview_app"
vectorDrawables.useSupportLibrary = true
minSdkVersion 21
targetSdkVersion 22
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
splits {
abi {
reset()
enable enableSeparateBuildPerCPUArchitecture
universalApk false // If true, also generate a universal APK
include "armeabi-v7a", "x86"
}
}
buildTypes {
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
variant.outputs.each { output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) { // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
}
}
}
}
dependencies {
compile project(':react-native-ilive')
compile project(':react-native-vector-icons')
compile project(':react-native-orientation')
compile project(':react-native-video')
compile project(':react-native-fetch-blob')
compile (project(':react-native-camera')) {
exclude group: "com.google.android.gms"
compile 'com.android.support:exifinterface:25.+'
compile ('com.google.android.gms:play-services-vision:10.2.0') {
force = true
}
}
compile project(':react-native-sound')
compile project(':react-native-audio')
compile project(':react-native-picker')
compile project(':react-native-image-picker')
compile project(':react-native-image-crop-picker')
compile project(':react-native-picker')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
}
// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
项目依赖:
{
"name": "interview_app",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"immutable": "^3.8.2",
"prop-types": "^15.6.1",
"react": "16.3.0-alpha.1",
"react-native": "0.54.0",
"react-native-audio": "^4.0.0",
"react-native-camera": "git+https://[email protected]/react-native-community/react-native-camera",
"react-native-elements": "^0.19.1",
"react-native-fetch-blob": "^0.10.8",
"react-native-flexi-radio-button": "^0.2.2",
"react-native-ilive": "^1.10.1",
"react-native-image-crop-picker": "^0.20.1",
"react-native-image-picker": "^0.26.7",
"react-native-keyboard-aware-scroll-view": "^0.5.0",
"react-native-keyboard-aware-scrollview": "^2.0.0",
"react-native-modal-datetime-picker": "^5.1.0",
"react-native-modalbox": "^1.4.2",
"react-native-orientation": "^3.1.3",
"react-native-percentage-circle": "^1.0.6",
"react-native-picker": "^4.3.5",
"react-native-pwd-input": "^1.0.1",
"react-native-radio-master": "^1.0.1",
"react-native-slider": "^0.11.0",
"react-native-sound": "^0.10.9",
"react-native-storage": "^0.2.2",
"react-native-swipeout": "^2.3.3",
"react-native-touchable": "^1.0.6",
"react-native-uploader": "0.0.10",
"react-native-vector-icons": "^4.6.0",
"react-native-video": "^2.0.0",
"react-navigation": "^1.5.8"
},
"devDependencies": {
"babel-jest": "22.4.1",
"babel-preset-react-native": "4.0.0",
"jest": "22.4.2",
"react-test-renderer": "16.3.0-alpha.1"
},
"jest": {
"preset": "react-native"
}
}
请问QavsdkApplication.java这个类在哪,怎么导入
我看demo是全屏显示的,试了下改成特定宽高还是那样。
Hello, there
First of all thank you for your great work on this project.
I am building a react native app using your iLive package.
Everything is great.
but I have some trouble when user repost live screen .
Can not see video screen when user post a live after one live post finished.
Could you explain what parameters are needed in this cases?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.