shoutcast

Shoutcast aacplus streaming with As3

北城以北 提交于 2019-12-11 08:15:41
问题 i want a flash player for shoutcast servers. if shoutcast's content type is mpeg, codes is working. But if shoutcast's content type is aacp, codes not working. Codes; var channel:SoundChannel; var sound:Sound = new Sound(); sound.load(new URLRequest("http://yonradyo.radyolarburada.com:8020/;")); channel = sound.play(); What should I do? Thanks. 回答1: The Project Thunder Snow (https://code.google.com/p/project-thunder-snow/) is not so fresh, but still working solution for playing aac/aacp

Get start and end time of current playing song

你。 提交于 2019-12-11 06:37:10
问题 I am trying to implement a radio stream switcher in android. What I would like to do, in the desired order, is this: Start streaming a radio station Get the endTime of the current playing song from that station At endTime - Delta, I want to scan a list of stations and I want to get back a list of stations that have a new song starting in the interval [endTime, endTime + Delta'] Switch to a stream from the result set in [3] and then repeat So, I can stream a radio station (no problem). I can

SHOUTcast fetch request denied every time with 404

孤人 提交于 2019-12-11 04:20:42
问题 Code function radiotest(host,port) local rstr="Online" local sock, err = socket.tcp() if not sock then return "Failed" end sock:settimeout(1) local res, err = sock:connect(host, port) if not res then return "offline" else sock:settimeout(1) sock:send("GET /index.html HTTP/1.0\r\n UserAgent: SHOUTcast Song Status \r\n Accept: */*\r\n\r\n") sock:settimeout(3) local data=sock:receive('*a') sock:close() print(data) -- Further processing content here end end print( radiotest( "10.*.*.*", 1234 ) )

Is it possible to play this stream using HTML5/javascript?

让人想犯罪 __ 提交于 2019-12-11 02:51:28
问题 Basically trying to play some live audio streams in an app I'm porting to the browser. Stream example: http://kzzp-fm.akacast.akamaistream.net/7/877/19757/v1/auth.akacast.akamaistream.net/kzzp-fm/ I have tried HTML5 audio tag and jPlayer with no luck. I know next to nothing about streaming audio, however, when I examine the HTTP response header the specified content type is "audio/aacp" (not sure if that helps). I'm hoping someone with more knowledge of audio formats could point me in the

How to parse a none standard HTTP response?

空扰寡人 提交于 2019-12-10 02:39:51
问题 I'm having a real hard time figuring out how to parse a none standard HTTP response. The none standard response contains ICY 200 OK instead of HTTP 200 OK . Here is a sample URL that sends the none standard HTTP response. http://50.117.121.162:80 Since Android 4.4 HttpURLConnection will no longer work with these none standard responses. I have tried using the HttpClient by Apache but it doesn't work because of the none standard HTTP response. I have then tried following the guide for adding a

Getting SHOUTcast metadata on the Mac

独自空忆成欢 提交于 2019-12-08 08:33:03
问题 I'm creating an application in Objective-C and I need to get the metadata from a SHOUTcast stream. I tried this: NSURL *URL = [NSURL URLWithString:@"http://202.4.100.2:8000/"]; NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:URL]; [request addValue:@"1" forHTTPHeaderField:@"icy-metadata"]; [request addValue:@"Winamp 5/3" forHTTPHeaderField:@"User-Agent"]; [request addValue:@"audio/mpeg" forHTTPHeaderField:@"Content-Type"]; [NSURLConnection connectionWithRequest:request

How to provide restricted access MP3 streaming over the internet

╄→尐↘猪︶ㄣ 提交于 2019-12-08 06:18:53
问题 I need to stream several "channels" (by channels I'm thinking of radio channels, so playlists might be more appropriate) of queued MP3 files to around 200 clients over the internet from a Windows 2008 R2 / IIS 7 web server. Encryption of the stream is not a requirement. I need some way to ensure each client can only stream one channel at a time. I was thinking of restricting by IP address, and would welcome any suggestions on how I might go about this, or if there may be a better way. For my

Stream from Android device to shoutcast (upstreaming)

喜你入骨 提交于 2019-12-08 04:13:44
问题 Thanks to all of you in advance :) I want to make it clear before you start reading that I want to develop an android based app to use android device as a broadcaster, which records sound using its mic and sent it to shoutcast server something like this: Android Device with internet connection -> Shoutcast Server -> listeners. So please do not get confused with playing shoutcast streams on android, because I do not want to develop a player to play an stream. If you are looking for developing

Android How can i play shoutcast AAC, AAC+, MP3 in MediaPlayer for Android 2.3 and above?

≯℡__Kan透↙ 提交于 2019-12-07 14:55:47
问题 I am developing a MP3 player, and I want to add radio features. Almost all StackOverflow posts about this are from 2010. This is very annoying for this topic, because I can't find a solution. I know that are commercial solutions, like AAC Player/Decoder and others. Can you give me some code examples instead? 回答1: Here example of a player: http://code.google.com/p/aacplayer-android/ 来源: https://stackoverflow.com/questions/9850328/android-how-can-i-play-shoutcast-aac-aac-mp3-in-mediaplayer-for

Stream from Android device to shoutcast (upstreaming)

限于喜欢 提交于 2019-12-07 01:13:29
Thanks to all of you in advance :) I want to make it clear before you start reading that I want to develop an android based app to use android device as a broadcaster, which records sound using its mic and sent it to shoutcast server something like this: Android Device with internet connection -> Shoutcast Server -> listeners. So please do not get confused with playing shoutcast streams on android, because I do not want to develop a player to play an stream. If you are looking for developing a player then download source code from given link, it worked fine for me. Click to download Source