Revert "stop estimating a length for Ogg-based transcodes"

This reverts commit aeb08bf628cc98f81bd3084bce1a2a5da0a2e762.
This commit is contained in:
austinried
2026-10-04 00:30:04 +00:00
parent 73d38ddf3e
commit 76f3b39162
2 changed files with 0 additions and 13 deletions
@@ -39,13 +39,6 @@ class StreamLengthTest {
assertTrue(cdQuality >= 320 * 1_411_200 / 8)
}
@Test
fun oggBasedFormatsGetNoEstimateBecauseSeekingReadsFromTheEnd() {
assertNull(declaredStreamLength(180_000, StreamQuality(128, "opus")))
assertNull(declaredStreamLength(180_000, StreamQuality(128, "ogg")))
assertNull(declaredStreamLength(180_000, StreamQuality(128, "vorbis")))
}
@Test
fun theLengthSuffixRoundTripsThroughTheFragment() {
val uri = "http://host/rest/stream.view?id=s1" + streamLengthSuffix(1_234_567)