No announcement yet.

Send MP3 data in Node.JS

  • Filter
  • Time
  • Show
Clear All
new posts

  • Send MP3 data in Node.JS


    i'm currently making a small programm in Node.JS
    i get streaming data from an audio streaming plateform in m3u8 format using ffmpeg
    i want to stream it using my Node.JS soft; but i have few issues :

    - I can connect to my SHOUTcast server

    - which encoding should i use to send my data ? i tried -acodec mp3 on ffmeg; i also heard about -acoded libmp3lame. When i saw winamp requests on wireshark, it looked like it used libmp3lame but i want to be sure
    - how i'm supposed to "format" my request ? Do I just have to send the raw data encoded with libmp3lame ?

    i need help about it, it could be really nice if someone helps me
    thank you