Well .. I tried I sent <readByte> to the client
Then here'S another question. Don't know how to use it
To play an audio need a inputstream a format and a line.
But to new a stream needs a file or url. And format needs stream line needs format
But I only got a readbyte . So i have no idea how to use it
I''ll paste on the code of the client later
User Profile
Collapse
-
java Stream Audio
I want to use a ServerSocket at a PC
and a Socket for users
And I tried to Stream a music from Server to Client
But I dont know what should I send to the Client
Here's part of my code
...Code:public static void CP(File media , int LoopCount) { AudioInputStream AIS = null; try { AIS = AudioSystem.getAudioInputStream(media); } catch(Exception
No activity results to display
Show More
Leave a comment: