Skip to content

Commit

Permalink
feat(android): replace embed rtmpdroid with the packed version
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Dec 21, 2023
1 parent 65fd60c commit 06f6fc9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,12 @@ dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+"

implementation "video.api:android-live-stream:1.3.1"
implementation("video.api:rtmpdroid:1.2.0-packed")
implementation("video.api:android-live-stream:1.3.1") {
exclude group: 'video.api', module: 'rtmpdroid'
// exclude the transitive dependency to use packed version to avoid conflict with libssl.so and libcrypto.so
}

implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
}

Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ buildscript {
}
}

apply plugin: "com.facebook.react.rootproject"
apply plugin: "com.facebook.react.rootproject"

0 comments on commit 06f6fc9

Please sign in to comment.