RFR: 8277309: Add support for H.265/HEVC to HTTP Live Streaming

Alexander Matveev almatvee at openjdk.java.net
Wed Mar 9 05:10:15 UTC 2022


On Sat, 26 Feb 2022 00:30:10 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> - Added support for fragmented MP4 with HEVC/H.265, H.264 and AAC. 
>>  - Added support for elementary AAC streams without any container for audio only streams.
>>  - Added "aacparse" plugin from GStreamer. Required on Linux, since decoder cannot handle AAC elementary streams directly. DirectShow decoder works without it.
>>  - DirectShow H.264 decoder on Windows and H.265/H.264 decoder on Linux will be reloaded when fMP4 stream changes resolution. Dynamic format change did not worked for these streams on Windows and Linux.
>
> modules/javafx.media/src/main/java/com/sun/media/jfxmedia/locator/HLSConnectionHolder.java line 406:
> 
>> 404:                     mediaFileIndex = 0;
>> 405:                 }
>> 406:             } catch (Exception e) {
> 
> Do you need to catch exceptions here? Or would just doing a try / finally be sufficient? If you do intend to catch all exceptions here, should some logging or error handling be done if an exceptions occurs?

No. Removed.

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

PR: https://git.openjdk.java.net/jfx/pull/726


More information about the openjfx-dev mailing list