Menu

#2 add support for shoutcast streaming

closed-accepted
Joe Drew
Patches (14)
5
2002-02-19
2001-12-02
Anonymous
No

This add support to play shoutcast streaming audio for
mpg321. I try to brake as little as possible.
I need to modify :
if (current_frame > playbuf->num_frames)
because when we play (socket) stream
$playbuf->num_frames isn't calculate.

Shoutcast from Nullsoft recognize some User Agent and
display a html page, not the audio stream. With lynx a
need to use:
lynx -useragent="foobar" http://localhost:8000/ -source

It seems that mpg321 can't play sound if it isn't a
file. Try to play a mp3 other a http regular file.

Discussion

  • Joe Drew

    Joe Drew - 2002-02-19

    Logged In: YES
    user_id=330927

    This patch is applied in CVS. Please test it to make sure
    everything works for you - if it doesn't, I'll be glad to
    hear about it. I think network streams should work fine,
    except for buffering (Which I will implement soon).

    Thanks again!

     
  • Joe Drew

    Joe Drew - 2002-02-19
    • status: open --> closed-accepted
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.