shoutcast

SHOUTcast server in Java

旧时模样 提交于 2019-12-25 05:21:37
问题 I'm making a shoutcast server in Java and I've a hit a bump in the road. My server can stream data well if I send the client (VLC/WINAMP) an HTTP response: HTTP/1.1 200 OK\r\nContent-Type:audio/mpeg\r\n\r\n\ and then start streaming the files, However, when I send the client an ICY response, the sound starts getting a little bit choppy and squeaky and sometimes plays a little bit fast. Sometimes it plays little bits of chunks from all the songs in the playlist at the same time but if I

SHOUTcast server in Java

故事扮演 提交于 2019-12-25 05:21:02
问题 I'm making a shoutcast server in Java and I've a hit a bump in the road. My server can stream data well if I send the client (VLC/WINAMP) an HTTP response: HTTP/1.1 200 OK\r\nContent-Type:audio/mpeg\r\n\r\n\ and then start streaming the files, However, when I send the client an ICY response, the sound starts getting a little bit choppy and squeaky and sometimes plays a little bit fast. Sometimes it plays little bits of chunks from all the songs in the playlist at the same time but if I

Android — streaming a shoutcast audio file

为君一笑 提交于 2019-12-24 09:45:52
问题 i am trying to stream an shoutcast audio file in my device android 2.2...i heard that this shoutcast will not work in android 2.2. so, i tried with android emulator 2.3 then also song not playing why could you tell me where i am going wrong...and the code is below... public class AudioDemo extends Activity { final String song_uris="http://stream.radiosai.net:8004/"; private MediaPlayer mediaplayer; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout

Convert shoutcast stream to playable samples in Python?

六眼飞鱼酱① 提交于 2019-12-23 17:43:46
问题 I have a shoutcat radio station and now want to build a player for it. I know how to "get" thet stream from the server, thanks a lot to bobince , but I am not sure how to convert that stream into playable samples. How is it done? 回答1: Well, from what I can read on python, try this page. If that doesn't work, try the PythonInMusic article on the python wiki. 回答2: Shoutcast streams are typically (but not always) MP3. To get playable samples, you have to decode the stream's MP3 data. Have you

how to ShoutCast Streamming with MediaPlayer with android 2.3.3

若如初见. 提交于 2019-12-22 17:46:17
问题 Hi all and thanks in advance, I have been all day looking forums and on internet and i'm not getting any clear about this. I am not sure if it possible in a direct and simple way. I read all time that since 2.2 it is supported natively but i don't see and example where it works easily First, i make some test with some .mp3 on a web and this code worked fine: mp = new MediaPlayer(); mp.setDataSource(localContext, Uri.parse(SomeURL.mp3)); mp.prepare(); mp.start() but now....i have to reproduce

javazoom Player wont work on Windows with SHOUTcast stream (says invalid Https Request)

天大地大妈咪最大 提交于 2019-12-22 14:59:15
问题 I'm writing a small app to play a shoutcast stream, and I am using javazoom.jl.player.Player to do this. Here is my code: package music; import java.io.InputStream; import java.net.URL; import javazoom.jl.player.Player; class audiostream extends Thread { private Player mediafilePlayer; private volatile boolean shouldPlay = true; @Override public void run() { while (true) { if (shouldPlay) { player(); } } } public void player() { try { URL mediafile = new URL("http://hi1.streamingsoundtracks

Is there a true cross browser solution for shoutcast streams?

微笑、不失礼 提交于 2019-12-22 00:25:21
问题 Shoutcast stream is giving me a serious headache. I tried: JWplayer Jplayer Html5 Audio None of these are true cross-platform-browser solutions. THey can't even play all shoutcast streams! Is there any other solution to this problem? Maybe I can pass stream through some php library? Any solutions for this? 回答1: Since nobody is answering, I ransacked web today and found soundmanager2 - which at least in my tests works fine both on desktop and mobile browsers. I tested on Android, IOS, on

Web player to use with SHOUTcast

送分小仙女□ 提交于 2019-12-21 22:32:24
问题 I'm looking for a web player to play a music stream from a SHOUTcast server. I setup a SHOUTcast DNAS 2.0 Server on CentOS. SHOUTcast can stream music to Windows Media player and winamp; however, I want to be able to stream music to an html pop-up window with a modern browser such as firefox, chrome, IE, safari. A Flash or HTML based player would be great that can handle loop playback and audio/mpeg streams; open source if possible. Any suggestions would be greatly appreciated :) 回答1: Here

can't play shoutcast ip with port with backgroundAudio on Windows Phone 8

佐手、 提交于 2019-12-21 17:19:31
问题 I'm new in developing Windows Phone app, so sorry if I do some silly mistakes. I can't play shoutcast on WP 8, I already tried what suggested on someone else thread, but it doesn't help. Here's part of my code: (though it could play no shoutcast one) private static List<AudioTrack> _playList = new List<AudioTrack> { new AudioTrack(new Uri("http://198.50.156.4:8062/;",UriKind.RelativeOrAbsolute), "Radio Vision", null, null, null, null , EnabledPlayerControls.All), new AudioTrack(new Uri("http:

Play from Shoutcast Url in android

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-21 04:51:40
问题 I am developing an Application that needs to play Radio from Shout cast. For API I have followed this URL I am successful in getting a station ID with my developer ID.Now in the section " How To Tune Into A Station " they have guided how to tune to a particular station. I have followed that section and used this URL in my android media player. But my media player plays nothing. Please note my target SDK is 16 and Min SDK is 13. So I hope android version is not a problem. Media player works