Clear up some old unstable api tags

This commit is contained in:
Vitor Pamplona 2024-05-23 18:18:46 -04:00
parent 85aaf25561
commit 9d4a88d26f
2 changed files with 1 additions and 2 deletions

View File

@ -34,7 +34,6 @@ object PlaybackClientController {
var executorService = Executors.newCachedThreadPool()
val cache = LruCache<Int, SessionToken>(1)
@androidx.annotation.OptIn(androidx.media3.common.util.UnstableApi::class)
fun prepareController(
controllerID: String,
videoUri: String,

View File

@ -72,12 +72,12 @@ class WssOrHttpFactory(httpClient: OkHttpClient) : MediaSource.Factory {
}
}
@UnstableApi // Extend MediaSessionService
class PlaybackService : MediaSessionService() {
private var videoViewedPositionCache = VideoViewedPositionCache()
private var managerAllInOne: MultiPlayerPlaybackManager? = null
@OptIn(UnstableApi::class)
fun newAllInOneDataSource(): MediaSource.Factory {
// This might be needed for live kit.
// return WssOrHttpFactory(HttpClientManager.getHttpClient())