Record streaming audio in java?

后端 未结 1 955
清酒与你
清酒与你 2020-12-15 12:55

I\'m trying to set up a program to record a portion of an internet audio stream, and save it to a file (preferably mp3 or wav). I\'ve looked everywhere and I can\'t find any

1条回答
  •  难免孤独
    2020-12-15 13:23

    If you exactly want 5 seconds you can calculate it yourself based on the number of bytes you have received and the bit rate of the audio stream.

    0 讨论(0)
提交回复
热议问题