Skip to content

Commit fb5efee

Browse files
authored
Merge pull request #20 from chikoski/spatial-video-support
Add stereoscopic video support
2 parents 08f5afd + db1a94c commit fb5efee

18 files changed

Lines changed: 1155 additions & 226 deletions

File tree

AdaptiveJetStream/gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ androidx-baselineprofile = "1.4.1"
66
benchmark-macro-junit4 = "1.4.1"
77
coil-compose = "2.7.0"
88
compose-bom = "2025.09.01"
9+
concurrent-futures-ktx = "1.3.0"
910
tv-material = "1.0.1"
1011
core-ktx = "1.17.0"
1112
core-splashscreen = "1.0.1"
@@ -35,6 +36,7 @@ androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
3536
androidx-compose-runtime = { module = "androidx.compose.runtime:runtime" }
3637
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
3738
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
39+
androidx-concurrent-futures-ktx = { module = "androidx.concurrent:concurrent-futures-ktx", version.ref = "concurrent-futures-ktx" }
3840
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "core-ktx" }
3941
androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "core-splashscreen" }
4042
androidx-hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hilt-navigation-compose" }

AdaptiveJetStream/jetstream/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ dependencies {
135135
implementation(libs.androidx.xr.compose)
136136
implementation(libs.androidx.xr.compose.material3)
137137

138+
// Concurrency & coroutine
139+
implementation(libs.androidx.concurrent.futures.ktx)
140+
138141
// Compose Previews
139142
debugImplementation(libs.androidx.compose.ui.tooling)
140143

AdaptiveJetStream/jetstream/src/main/AndroidManifest.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ https://www.apache.org/licenses/LICENSE-2.0
4242
android:required="false" />
4343

4444
<uses-permission android:name="android.permission.INTERNET" />
45-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
45+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
4646
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
4747

4848
<application
@@ -83,12 +83,15 @@ https://www.apache.org/licenses/LICENSE-2.0
8383
android:defaultHeight="540dp"
8484
android:gravity="center" />
8585

86+
<property
87+
android:name="android.window.PROPERTY_XR_ACTIVITY_START_MODE"
88+
android:value="XR_ACTIVITY_START_MODE_FULL_SPACE_MANAGED" />
8689
</activity>
8790

8891
<service
8992
android:name=".PlaybackService"
9093
android:foregroundServiceType="mediaPlayback"
91-
android:exported="true">
94+
android:exported="false">
9295
<intent-filter>
9396
<action android:name="androidx.media3.session.MediaSessionService"/>
9497
<action android:name="android.media.browse.MediaBrowserService"/>

0 commit comments

Comments
 (0)