Media Player Failure When Speakers Not Present

Kevin Rushforth kevin.rushforth at oracle.com
Wed Sep 16 20:19:04 UTC 2020


I see it in the system, with an internal ID of 9066884. Once it is 
transferred to the JDK project it will be publicly visible and you 
should receive email notification.

FWIW, I think I've seen this problem in the past. I don't know how easy 
it will be to fix, but at least it will be tracked and we can take a 
look at it. You should should be able to detect this as an error 
condition in your program by listening for a media error. See 
MediaPlayer::onError

-- Kevin


On 9/16/2020 12:17 PM, omniprof at gmail.com wrote:
> Bug report filed.
>
>   
>
> Ken
>
>   
>
>   
>
> From: Nir Lisker <nlisker at gmail.com>
> Sent: September 14, 2020 4:37 PM
> To: omniprof at gmail.com
> Cc: openjfx-dev at openjdk.java.net Mailing <openjfx-dev at openjdk.java.net>
> Subject: Re: Media Player Failure When Speakers Not Present
>
>   
>
> The issues database is the same for all OpenJDK projects, including JDK and OpenJFX. When you submit the issue, it is triaged internally and transferred to the public JBS at https://bugs.openjdk.java.net.
>
>   
>
> On Mon, Sep 14, 2020 at 11:27 PM <omniprof at gmail.com <mailto:omniprof at gmail.com> > wrote:
>
> I am a little confused. The url you sent appears to be for Java SE bug reporting and I thought that JavaFX as OpenJFX is not part of the Java SE distribution. If so then this may not be where I report my issue.
>
>   
>
> Ken
>
>   
>
>   
>
> From: Nir Lisker <nlisker at gmail.com <mailto:nlisker at gmail.com> >
> Sent: September 14, 2020 4:19 PM
> To: omniprof at gmail.com <mailto:omniprof at gmail.com>
> Cc: openjfx-dev at openjdk.java.net <mailto:openjfx-dev at openjdk.java.net>  Mailing <openjfx-dev at openjdk.java.net <mailto:openjfx-dev at openjdk.java.net> >
> Subject: Re: Media Player Failure When Speakers Not Present
>
>   
>
> PS: If someone can send me the URL for OpenJFX's JIRA or equivalent, I will
> submit a bug report.
>
>   
>
> bugreport.java.com <http://bugreport.java.com>
>
>   
>
> On Mon, Sep 14, 2020 at 11:03 PM <omniprof at gmail.com <mailto:omniprof at gmail.com> > wrote:
>
> While I am still looking for where I can file this problem I thought I'd
> bring it to the list. A program I use in my course plays a short video. Have
> used it for a few years and it works fine. EXCEPT, if there is not a
> connected audio out device such as speakers or headphones. The video does
> not play and there is no stack trace or any other indication of a problem.
> Stage opens fine but the media control does nothing and the scene appears
> empty. Discovered when I used a machine that did not have speakers plugged
> into it. Expected behaviour was just to see the video without sound. It is
> possible that this bug has been around since the introduction of the Media /
> Media Player control.
>
>
>
> I assume the code works like "Hi M. PCaudio, what are you connected to?"
> "I'm not connected to anything, M. Media Player" "That's OK M. PCAudio, I'll
> just wait forever or just give up and do nothing".
>
>
>
> Or, it can just be a crazy Xeon based Windows machine that is giving grief
> to OpenJFX. Using Java 14 and OpenJFX 16-ea+1.
>
>
>
> Ken Fogel
>
>
>
> PS: If someone can send me the URL for OpenJFX's JIRA or equivalent, I will
> submit a bug report.
>
>
>



More information about the openjfx-dev mailing list