Java Client-Server: Stream audio files in real time
问题 Im making a client-server based music applicationn like spotify.The following is a only simple part of code that sends an mp3 audio file to my client. What i want is to play this .mp3 audio file to my client in real time What to change in order to achieve this? Edit : i have watched a lot of similar post both here on stackoverflow and GitHub but i cant find any solution Server public void send_file_to_client(String requested_file) throws IOException { FileInputStream fis = null;