User Profile

Collapse

Profile Sidebar

Collapse
hansun11
hansun11
Last Activity: Sep 25 '14, 01:27 PM
Joined: Sep 15 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hansun11
    replied to java Stream Audio
    in Java
    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
    See more | Go to post

    Leave a comment:


  • hansun11
    started a topic java Stream Audio
    in Java

    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
    ...
    See more | Go to post
No activity results to display
Show More
Working...