Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Android/iOS builds for RN 60 and streaming functionality #10

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions RNBroadcast.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = "RNBroadcast"
s.version = package['version']
s.summary = package['description']
s.license = package['license']

s.authors = package['author']
s.homepage = package['homepage']
s.platform = :ios, "9.0"

s.source = { :git => "https://github.com/BehaviorCloud/react-native-broadcast.git", :tag => "#{s.version}" }
s.source_files = "ios/RNBroadcast/**/*.{c,cpp,h,m,mm}"

s.dependency 'React'
end
2 changes: 2 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ android {

repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}

dependencies {
compile 'com.facebook.react:react-native:+'
implementation 'com.github.behaviorcloud.rtmp-rtsp-stream-client-java:rtplibrary:1.7.3'
}
6 changes: 4 additions & 2 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.reactlibrary">
package="com.pedrolibrary">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
</manifest>


Binary file removed android/src/main/assets/filter/amaro_mask1.jpg
Binary file not shown.
Binary file removed android/src/main/assets/filter/amaro_mask2.jpg
Binary file not shown.
Binary file removed android/src/main/assets/filter/amaromap.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/blackboard1024.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/blend1.jpg
Binary file not shown.
Binary file removed android/src/main/assets/filter/bluevintage_mask1.jpg
Binary file not shown.
Binary file removed android/src/main/assets/filter/brannan_blowout.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/brannan_contrast.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/brannan_luma.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/brannan_process.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/brannan_screen.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/brooklynCurves1.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/brooklynCurves2.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/calm_mask1.jpg
Binary file not shown.
Binary file removed android/src/main/assets/filter/calm_mask2.jpg
Binary file not shown.
Binary file removed android/src/main/assets/filter/earlybirdOverlayMap.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/earlybirdblowout.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/earlybirdcurves.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/earlybirdmap.png
Binary file not shown.
Binary file not shown.
Binary file removed android/src/main/assets/filter/edgeburn.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/fairy_tale.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/filter_map_first.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/flower_layer2c.jpg
Binary file not shown.
Binary file removed android/src/main/assets/filter/freud_rand.png
Binary file not shown.
Binary file removed android/src/main/assets/filter/healthy_mask_1.jpg
Diff not rendered.
Binary file removed android/src/main/assets/filter/hefegradientmap.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/hefemap.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/hefemetal.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/hefesoftlight.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/hudsonbackground.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/hudsonmap.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/inkwellmap.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/kelvinmap.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/line_layer_c.jpg
Diff not rendered.
Binary file removed android/src/main/assets/filter/lomomap_new.png
Diff not rendered.
Diff not rendered.
Binary file removed android/src/main/assets/filter/lookup_highkey.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/n1977blowout.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/n1977map.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/nashvillemap.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/overlaymap.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/pixar_curves.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/rise_mask1.jpg
Diff not rendered.
Binary file removed android/src/main/assets/filter/rise_mask2.jpg
Diff not rendered.
Binary file removed android/src/main/assets/filter/risemap.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/sierramap.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/sierravignette.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/softlight.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/sutrocurves.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/sutroedgeburn.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/sutrometal.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/toastercolorshift.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/toastercurves.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/toastermetal.png
Diff not rendered.
Diff not rendered.
Binary file removed android/src/main/assets/filter/toastersoftlight.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/toy_mask1.jpg
Diff not rendered.
Binary file removed android/src/main/assets/filter/toy_mask2.jpg
Diff not rendered.
Binary file removed android/src/main/assets/filter/toy_mask3.jpg
Diff not rendered.
Diff not rendered.
Binary file removed android/src/main/assets/filter/valenciamap.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/vignette_map.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/vignettemap_new.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/walden_map.png
Diff not rendered.
Binary file removed android/src/main/assets/filter/warm_layer1.jpg
Diff not rendered.
Binary file removed android/src/main/assets/filter/xpromap.png
Diff not rendered.
130 changes: 0 additions & 130 deletions android/src/main/java/com/coremedia/iso/AbstractBoxParser.java

This file was deleted.

31 changes: 0 additions & 31 deletions android/src/main/java/com/coremedia/iso/BoxParser.java

This file was deleted.

90 changes: 0 additions & 90 deletions android/src/main/java/com/coremedia/iso/ChannelHelper.java

This file was deleted.

58 changes: 0 additions & 58 deletions android/src/main/java/com/coremedia/iso/Hex.java

This file was deleted.

Loading