Skip to content

Commit

Permalink
Merge branch 'releases/v1.0.0' into doc/cleanup-static-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
daytime-em authored May 7, 2024
2 parents 0a49164 + 0929961 commit 93da946
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions library/src/main/java/com/mux/player/media/MediaItems.kt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ object MediaItems {

private fun resolutionValue(renditionOrder: RenditionOrder): String {
return when (renditionOrder) {
RenditionOrder.Ascending -> "asc"
RenditionOrder.Descending -> "desc"
}
}
Expand Down Expand Up @@ -171,10 +170,4 @@ enum class RenditionOrder {
* setting emphasizes video quality, but may lead to more interruptions on unfavorable networks
*/
Descending,

/**
* The highest-resolution renditions will be chosen first, adjusting downward if needed. This
* setting emphasizes video quality, but may lead to more interruptions on unfavorable networks
*/
Ascending,
}
}

0 comments on commit 93da946

Please sign in to comment.