Skip to content

Commit

Permalink
fix: remove rendition order ascending (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjl-mux authored May 7, 2024
1 parent c482ef4 commit 0929961
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions library/src/main/java/com/mux/player/media/MediaItems.kt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ object MediaItems {

private fun resolutionValue(renditionOrder: RenditionOrder): String {
return when (renditionOrder) {
RenditionOrder.Ascending -> "asc"
RenditionOrder.Descending -> "desc"
}
}
Expand Down Expand Up @@ -137,6 +136,5 @@ enum class PlaybackResolution {
}

enum class RenditionOrder {
Ascending,
Descending,
}
}

0 comments on commit 0929961

Please sign in to comment.