On Tue, 13 Oct 2026 22:03:12 GMT, Andy Goryachev <[email protected]> wrote:

>> Alexander Matveev has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   8389211: Fix HLS Live issues found during testing of JDK-8331458 and 
>> various live streams [v3]
>
> modules/javafx.media/src/main/java/com/sun/media/jfxmedia/locator/HLSConnectionHolder.java
>  line 412:
> 
>> 410:         try (InputStream in = connection.getInputStream()) {
>> 411:             long length = connection.getContentLengthLong();
>> 412:             if (length > MAX_HEADER_SIZE) {
> 
> introducing a 4MB limit - is this a regression?

I fixed it by caching init segment which is less then 4 MB and if it is bigger 
we will download it each time. In most cases it is unlikely that init segment 
will be more than 4 MB.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2227#discussion_r4354992362

Reply via email to