On Tue, 11 Feb 2020 09:59:10 GMT, Johan Vos <j...@openjdk.org> wrote:
>> modules/javafx.media/src/main/java/com/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform.java >> line 66: >> >>> 65: "jrt", >>> 66: "resource" >>> 67: }; >> >> We do not support "resource" protocol in non-static build, so it is better >> to only enable it for static build. Not sure how to do this. > > As an alternative, the "iPod" strategy can be used. > For some reasons, the "ipod-library" protocol is supported in the code > (Locator), and if that is found, most connection code is bypassed. > That strategy seems to be much more difficult to maintain though. "ipod-library" is only supported if IOSPlatform is loaded, but it will not be loaded on all platform due to check for HostUtils.isIOS(). Do you know what happens if user tries "resource" protocol on not supported platform? and same for some "unknown" protocol. If error message makes sense we can probably keep it as is. ------------- PR: https://git.openjdk.java.net/jfx/pull/109