Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8105870

MediaPlayer does not report EOM nor complete current time on MAC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P1 P1
    • fx1.1
    • fx1.0.1
    • javafx
    • mac


      After downloading latest build runtime from http://jre.sfbay/java/re/javafx/1.0.1/promoted/fcs/b01/

      I found a compound problem testing on a mac..

      we currently work around RT-2218 (Major) In MediaView OnEndOfMedia fails to get called
      by monitoring mediaPlayer.currentTime < media.duration.

      My last report was:
      println("mct {mediaCurrentTime}/{media.duration}")
      mct 12468ms/12616ms

      This workaround is now failing as of this build, as we are not getting the final currentTime report reliably.
      At this point we have no viable means of detecting whent the media ceases to play in MediaComponent, and so I am raising this as a blocker for Franca.

      Attaching my "simple" test program which removes some of the complexity of MediaComponent to check/reproduce media rt issues.
      (comment on better ways of doing functions in the code gratefully accepted

      Note: that with windows from the same build, the test application is quite happy, seeing both the reported EOM (without the workaround) and replays quite happily.

            tonywyant Tony Wyant (Inactive)
            ddhill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: