Audio/Video streams in Java

I wish to transfer audio, as well as video files through a file transfer utility I have been developing in Java. The linear, byte by byte method can very efficiently transfer text and image files, but has a problem while dealing with audio and video files. I want to know, whether there is any utility or API in Java that can allow me to achieve this apparently difficult motive. It should also be platform and format inspecific, as my application must operate in a Heterogeneous Network. Is there any aid I can be given in this context? I SHALL be deeply gratified.

Thank You.

Hi Bhaswar,

There are utilities which allow this - namely the Java Media Framework. I have supplied the links below.

Main site:
http://java.sun.com/products/java-media/jmf/

JMF API:
http://java.sun.com/products/java-media/jmf/2.1.1/apidocs/

Hope this helps.

Martyn