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

Media should support InputStream

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • fx2.0.2
    • javafx
    • None

      Currently, we can construct media only from a URL or path, but if for example I need to deencrypt an mp3 file and then play it, I have to extract it to a temporary location, losing important security and preformance, and then pass it to the Media's string constructor.
      See http://stackoverflow.com/questions/13539814/playing-mp3-files-in-javafx-from-input-stream. (Another person with the same exact need and problem).

      I suggest to include an InputStream constructor for media.

            almatvee Alexander Matveev
            duke J. Duke
            Votes:
            9 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Imported: