Skip to content

Commit 0e1f8b3

Browse files
committed
refactor(sabr): remove JVM field tags
1 parent d95ae95 commit 0e1f8b3

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

app/src/main/java/com/github/libretube/player/manifest/AdaptationSet.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import androidx.media3.common.util.UnstableApi
77
@UnstableApi
88
data class AdaptationSet(
99
/** The [track type][androidx.media3.common.C.TrackType] of the adaptation set. */
10-
@JvmField val type: @TrackType Int,
10+
val type: @TrackType Int,
1111
/** [Representation]s in the adaptation set. */
12-
@JvmField
1312
val representations: List<Representation?>
1413
)

app/src/main/java/com/github/libretube/player/manifest/Representation.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
11
package com.github.libretube.player.manifest
22

3-
import androidx.media3.common.C
43
import androidx.media3.common.Format
5-
import androidx.media3.common.util.Assertions
64
import androidx.media3.common.util.UnstableApi
75
import com.github.libretube.api.obj.PipedStream
8-
import com.github.libretube.player.SabrSegmentIndex
96
import misc.Common.FormatId
107

118
/** A Sabr representation. */
129
@UnstableApi
1310
class Representation(
1411
/** The format of the representation. */
15-
@JvmField
1612
val format: Format,
17-
@JvmField
1813
val itag: Int,
19-
@JvmField
2014
val lastModified: Long,
21-
@JvmField
2215
val xtags: String? = null,
2316
val stream: PipedStream,
2417
) {

0 commit comments

Comments
 (0)