Twelve: Add HLS, RTSP and SmoothStreaming ExoPlayer libs
Change-Id: Ie2ffafacc8b04edcf038d7ad9a982a7d67642805
diff --git a/app/Android.bp b/app/Android.bp
index b38e191..a9cc7dd 100644
--- a/app/Android.bp
+++ b/app/Android.bp
@@ -53,7 +53,10 @@
"androidx.lifecycle_lifecycle-service",
"Twelve_androidx.media3_media3-common-ktx",
"Twelve_androidx.media3_media3-exoplayer",
+ "Twelve_androidx.media3_media3-exoplayer-hls",
"Twelve_androidx.media3_media3-exoplayer-midi",
+ "Twelve_androidx.media3_media3-exoplayer-rtsp",
+ "Twelve_androidx.media3_media3-exoplayer-smoothstreaming",
"Twelve_androidx.media3_media3-session",
"Twelve_androidx.media3_media3-ui",
"androidx.navigation_navigation-fragment-ktx",
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index ad5fd20..23cf2b1 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -85,7 +85,10 @@
implementation(libs.androidx.lifecycle.service)
implementation(libs.androidx.media3.common.ktx)
implementation(libs.androidx.media3.exoplayer)
+ implementation(libs.androidx.media3.exoplayer.hls)
implementation(libs.androidx.media3.exoplayer.midi)
+ implementation(libs.androidx.media3.exoplayer.rtsp)
+ implementation(libs.androidx.media3.exoplayer.smoothstreaming)
implementation(libs.androidx.media3.session)
implementation(libs.androidx.media3.ui)
implementation(libs.androidx.navigation.fragment.ktx)
diff --git a/app/libs/Android.bp b/app/libs/Android.bp
index 59238c1..e4884ed 100644
--- a/app/libs/Android.bp
+++ b/app/libs/Android.bp
@@ -258,6 +258,38 @@
}
android_library_import {
+ name: "Twelve_androidx.media3_media3-exoplayer-hls-nodeps",
+ aars: ["androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/media3-exoplayer-hls-1.5.0-alpha01.aar"],
+ sdk_version: "35",
+ min_sdk_version: "14",
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ static_libs: [
+ "Twelve_androidx.media3_media3-exoplayer",
+ "androidx.annotation_annotation",
+ ],
+}
+
+android_library {
+ name: "Twelve_androidx.media3_media3-exoplayer-hls",
+ sdk_version: "35",
+ min_sdk_version: "14",
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ manifest: "androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/AndroidManifest.xml",
+ static_libs: [
+ "Twelve_androidx.media3_media3-exoplayer-hls-nodeps",
+ "Twelve_androidx.media3_media3-exoplayer",
+ "androidx.annotation_annotation",
+ ],
+ java_version: "1.7",
+}
+
+android_library_import {
name: "Twelve_androidx.media3_media3-exoplayer-midi-nodeps",
aars: ["androidx/media3/media3-exoplayer-midi/1.5.0-alpha01/media3-exoplayer-midi-1.5.0-alpha01.aar"],
sdk_version: "35",
@@ -298,6 +330,70 @@
}
android_library_import {
+ name: "Twelve_androidx.media3_media3-exoplayer-rtsp-nodeps",
+ aars: ["androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/media3-exoplayer-rtsp-1.5.0-alpha01.aar"],
+ sdk_version: "35",
+ min_sdk_version: "14",
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ static_libs: [
+ "Twelve_androidx.media3_media3-exoplayer",
+ "androidx.annotation_annotation",
+ ],
+}
+
+android_library {
+ name: "Twelve_androidx.media3_media3-exoplayer-rtsp",
+ sdk_version: "35",
+ min_sdk_version: "14",
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ manifest: "androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/AndroidManifest.xml",
+ static_libs: [
+ "Twelve_androidx.media3_media3-exoplayer-rtsp-nodeps",
+ "Twelve_androidx.media3_media3-exoplayer",
+ "androidx.annotation_annotation",
+ ],
+ java_version: "1.7",
+}
+
+android_library_import {
+ name: "Twelve_androidx.media3_media3-exoplayer-smoothstreaming-nodeps",
+ aars: ["androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/media3-exoplayer-smoothstreaming-1.5.0-alpha01.aar"],
+ sdk_version: "35",
+ min_sdk_version: "14",
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ static_libs: [
+ "Twelve_androidx.media3_media3-exoplayer",
+ "androidx.annotation_annotation",
+ ],
+}
+
+android_library {
+ name: "Twelve_androidx.media3_media3-exoplayer-smoothstreaming",
+ sdk_version: "35",
+ min_sdk_version: "14",
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ manifest: "androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/AndroidManifest.xml",
+ static_libs: [
+ "Twelve_androidx.media3_media3-exoplayer-smoothstreaming-nodeps",
+ "Twelve_androidx.media3_media3-exoplayer",
+ "androidx.annotation_annotation",
+ ],
+ java_version: "1.7",
+}
+
+android_library_import {
name: "Twelve_androidx.media3_media3-extractor-nodeps",
aars: ["androidx/media3/media3-extractor/1.5.0-alpha01/media3-extractor-1.5.0-alpha01.aar"],
sdk_version: "35",
diff --git a/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/AndroidManifest.xml b/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/AndroidManifest.xml
new file mode 100644
index 0000000..7006933
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/AndroidManifest.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2017 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="androidx.media3.exoplayer.hls" >
+
+ <uses-sdk android:minSdkVersion="21" />
+
+</manifest>
\ No newline at end of file
diff --git a/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/AndroidManifest.xml.license b/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/AndroidManifest.xml.license
new file mode 100644
index 0000000..ffce7d1
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/AndroidManifest.xml.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2024 The Android Open Source Project
+
+SPDX-License-Identifier: Apache-2.0
diff --git a/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/media3-exoplayer-hls-1.5.0-alpha01.aar b/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/media3-exoplayer-hls-1.5.0-alpha01.aar
new file mode 100644
index 0000000..5987542
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/media3-exoplayer-hls-1.5.0-alpha01.aar
Binary files differ
diff --git a/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/media3-exoplayer-hls-1.5.0-alpha01.aar.license b/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/media3-exoplayer-hls-1.5.0-alpha01.aar.license
new file mode 100644
index 0000000..ffce7d1
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-hls/1.5.0-alpha01/media3-exoplayer-hls-1.5.0-alpha01.aar.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2024 The Android Open Source Project
+
+SPDX-License-Identifier: Apache-2.0
diff --git a/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/AndroidManifest.xml b/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/AndroidManifest.xml
new file mode 100644
index 0000000..4c115fc
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/AndroidManifest.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2020 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="androidx.media3.exoplayer.rtsp" >
+
+ <uses-sdk android:minSdkVersion="21" />
+
+</manifest>
\ No newline at end of file
diff --git a/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/AndroidManifest.xml.license b/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/AndroidManifest.xml.license
new file mode 100644
index 0000000..ffce7d1
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/AndroidManifest.xml.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2024 The Android Open Source Project
+
+SPDX-License-Identifier: Apache-2.0
diff --git a/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/media3-exoplayer-rtsp-1.5.0-alpha01.aar b/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/media3-exoplayer-rtsp-1.5.0-alpha01.aar
new file mode 100644
index 0000000..1606732
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/media3-exoplayer-rtsp-1.5.0-alpha01.aar
Binary files differ
diff --git a/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/media3-exoplayer-rtsp-1.5.0-alpha01.aar.license b/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/media3-exoplayer-rtsp-1.5.0-alpha01.aar.license
new file mode 100644
index 0000000..ffce7d1
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-rtsp/1.5.0-alpha01/media3-exoplayer-rtsp-1.5.0-alpha01.aar.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2024 The Android Open Source Project
+
+SPDX-License-Identifier: Apache-2.0
diff --git a/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/AndroidManifest.xml b/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/AndroidManifest.xml
new file mode 100644
index 0000000..bad2872
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/AndroidManifest.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2017 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="androidx.media3.exoplayer.smoothstreaming" >
+
+ <uses-sdk android:minSdkVersion="21" />
+
+</manifest>
\ No newline at end of file
diff --git a/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/AndroidManifest.xml.license b/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/AndroidManifest.xml.license
new file mode 100644
index 0000000..ffce7d1
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/AndroidManifest.xml.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2024 The Android Open Source Project
+
+SPDX-License-Identifier: Apache-2.0
diff --git a/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/media3-exoplayer-smoothstreaming-1.5.0-alpha01.aar b/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/media3-exoplayer-smoothstreaming-1.5.0-alpha01.aar
new file mode 100644
index 0000000..a36405c
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/media3-exoplayer-smoothstreaming-1.5.0-alpha01.aar
Binary files differ
diff --git a/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/media3-exoplayer-smoothstreaming-1.5.0-alpha01.aar.license b/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/media3-exoplayer-smoothstreaming-1.5.0-alpha01.aar.license
new file mode 100644
index 0000000..ffce7d1
--- /dev/null
+++ b/app/libs/androidx/media3/media3-exoplayer-smoothstreaming/1.5.0-alpha01/media3-exoplayer-smoothstreaming-1.5.0-alpha01.aar.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2024 The Android Open Source Project
+
+SPDX-License-Identifier: Apache-2.0
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 2ba6b39..093140f 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -33,7 +33,10 @@
androidx-lifecycle-service = { group = "androidx.lifecycle", name = "lifecycle-service", version.ref = "lifecycle" }
androidx-media3-common-ktx = { group = "androidx.media3", name = "media3-common-ktx", version.ref = "media3" }
androidx-media3-exoplayer = { group = "androidx.media3", name = "media3-exoplayer", version.ref = "media3" }
+androidx-media3-exoplayer-hls = { group = "androidx.media3", name = "media3-exoplayer-hls", version.ref = "media3" }
androidx-media3-exoplayer-midi = { group = "androidx.media3", name = "media3-exoplayer-midi", version.ref = "media3" }
+androidx-media3-exoplayer-rtsp = { group = "androidx.media3", name = "media3-exoplayer-rtsp", version.ref = "media3" }
+androidx-media3-exoplayer-smoothstreaming = { group = "androidx.media3", name = "media3-exoplayer-smoothstreaming", version.ref = "media3" }
androidx-media3-session = { group = "androidx.media3", name = "media3-session", version.ref = "media3" }
androidx-media3-ui = { group = "androidx.media3", name = "media3-ui", version.ref = "media3" }
androidx-navigation-fragment-ktx = { group = "androidx.navigation", name = "navigation-fragment-ktx", version.ref = "navigation" }