JavaFX Media issues
John Smith
John_Smith at symantec.com
Thu Aug 8 13:54:17 PDT 2013
JavaFX 2.2 does http live streaming: http://docs.oracle.com/javafx/2/media/overview.htm
"HTTP Live Streaming Support
With the addition of HTTP live streaming support, you can now download the playlist file and playback video or audio segments using JavaFX Media. Media players are now able to switch to alternate streams, as specified in the playlist file and based on network conditions. For a given stream, there is a playlist file and a set of segments into which the stream is broken. The stream can be either an MP3 raw stream or an MPEG-TS containing multiplexed AAC audio and H.264 video. The stream can be played on demand when the stream is a static file or played live when the stream is actually a live feed. In both cases, the stream can adjust its bit rate and for video, its resolution can be adjusted."
More info on HTTP Live Streaming:
http://developer.apple.com/library/ios/#documentation/networkinginternet/conceptual/streamingmediaguide/Introduction/Introduction.html
Your other questions, the JavaFX media devs can answer.
-----Original Message-----
From: openjfx-dev-bounces at openjdk.java.net [mailto:openjfx-dev-bounces at openjdk.java.net] On Behalf Of Felix Bembrick
Sent: Thursday, August 08, 2013 1:32 PM
To: openjfx-dev at openjdk.java.net List
Subject: JavaFX Media issues
I am having a look at JavaFX media support and have a couple of questions:
1. It seems that the only way to load media files is by specifying a source such as a file path etc. This is not going to work well for me as all of my application's content (which includes data, digital assets, media etc.) is stored in a database on the server and is loaded through an IO stream.
Why doesn't Media support loading of files through a stream? That would seem like a common use case to me!
2. I am unable to locate any reference to JavaFX Media in the JavaDocs for JDK 8 which I found here:
http://download.java.net/jdk8/jfxdocs/index.html
Is this just a glitch?
3. Is buffering of media something planned for the future in JavaFX?
4. What about live streaming of media content?
Thanks,
Felix
More information about the openjfx-dev
mailing list