chore(version): upgrade to StreamPack 2.5.1
This commit is contained in:
@@ -45,9 +45,11 @@ dependencies {
|
|||||||
implementation 'com.google.android.material:material:1.7.0'
|
implementation 'com.google.android.material:material:1.7.0'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||||
|
|
||||||
implementation 'io.github.thibaultbee:streampack:2.5.0'
|
implementation "io.github.thibaultbee:streampack:${streampackVersion}"
|
||||||
implementation 'io.github.thibaultbee:streampack-extension-rtmp:2.5.0'
|
// Only needed for RTMP live streaming
|
||||||
implementation 'io.github.thibaultbee:streampack-extension-srt:2.5.0'
|
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'
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
|
||||||
|
|
||||||
testImplementation 'junit:junit:4.13.2'
|
testImplementation 'junit:junit:4.13.2'
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context=".MainActivity">
|
tools:context=".MainActivity">
|
||||||
|
|
||||||
<io.github.thibaultbee.streampack.views.StreamerSurfaceView
|
<io.github.thibaultbee.streampack.views.PreviewView
|
||||||
android:id="@+id/preview"
|
android:id="@+id/preview"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
buildscript {
|
||||||
|
ext {
|
||||||
|
// Upgrade StreamPack version here
|
||||||
|
streampackVersion = '2.5.1'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.android.application' version '7.3.0' apply false
|
id 'com.android.application' version '7.3.0' apply false
|
||||||
id 'com.android.library' version '7.3.0' apply false
|
id 'com.android.library' version '7.3.0' apply false
|
||||||
|
|||||||
Reference in New Issue
Block a user