Alberto
Alberto

Reputation: 1579

Stream video from a database in Java

I have to stream some videos from a database. I planned to use Java Media Framework, because I get the Blob objects from the result of a query, but apparently JMF cannot play videos from streams, but only from URLs. Does Anyone know how to solve this problem? If JMF cannot solve it, someone can recommend me a different framework?

Upvotes: 0

Views: 993

Answers (1)

Thomas Mueller
Thomas Mueller

Reputation: 50107

You could register a protocol handler, and then use this special URL within JMF. Registering protocol handlers is a bit complicated in my view, but there are a many examples on the internet.

Upvotes: 2

Related Questions