From 968134d9e8a163147d37edf78f5f74ba501bd109 Mon Sep 17 00:00:00 2001 From: ThibaultBee <37510686+ThibaultBee@users.noreply.github.com> Date: Sat, 12 Nov 2022 11:17:38 +0100 Subject: [PATCH] chore(version): upgrade to StreamPack 2.5.1 --- app/build.gradle | 8 +++++--- app/src/main/res/layout/activity_main.xml | 2 +- build.gradle | 7 +++++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 444bf29..dea537c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -45,9 +45,11 @@ dependencies { implementation 'com.google.android.material:material:1.7.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' - implementation 'io.github.thibaultbee:streampack:2.5.0' - implementation 'io.github.thibaultbee:streampack-extension-rtmp:2.5.0' - implementation 'io.github.thibaultbee:streampack-extension-srt:2.5.0' + implementation "io.github.thibaultbee:streampack:${streampackVersion}" + // Only needed for RTMP live streaming + implementation "io.github.thibaultbee:streampack-extension-rtmp:${streampackVersion}" + // Only needed for SRT live streaming + implementation "io.github.thibaultbee:streampack-extension-srt:${streampackVersion}" implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1' testImplementation 'junit:junit:4.13.2' diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 616c2ba..93fa5e3 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -6,7 +6,7 @@ android:layout_height="match_parent" tools:context=".MainActivity"> -