1

I am developing a P2P streaming application. There are many library for playing multimedia file, but I can't find the one that can play from byte array. Is there any recommendation? Thank You.

1 Answer 1

2

Any media API worth using will accept an InputStream. A byte[] can be be turned into an InputStream as simply as new ByteArrayInputStream(byteArray);

Sign up to request clarification or add additional context in comments.

2 Comments

"..suggesting an API .. There are many library for playing multimedia.." Link to the JavaDocs of these many libraries. I'll have a look. Would you mind spelling all the letters of words like 'you' and 'thanks'?
Ok. I have a look of "vlcj", it seems that it can only play file. And the official JMF is just useless because it only support old formats

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.