audio-streaming

Is it possible to play shoutcast internet radio streams with html5?

只愿长相守 提交于 2019-11-27 10:57:40
Is it possible to play shoutcast (or some) internet radio streams with html5? So I have next code: <html> <body> <audio src="http://shoutcast.internet-radio.org.uk:10272/" /> </body> </html> I save it as HTML page and start my browser (Google chrome 4.0.249.78, safary or FF) But it does not play/work!( And it does not play with any other internet radio I tried to play!( Why!?! What am I doing wrong? btw: from HTML5 (including next generation additions still in development) 2.6.1 Protocol concepts User agents can implement a variety of transfer protocols, but this specification mostly defines

How to stream audio from one Android device to another Android device Via Bluetooth?

三世轮回 提交于 2019-11-27 09:52:22
问题 Is it possible to stream audio over bluetooth? During my research I found that is it only possible using A2DP(Advanced Audio Distribution Profile) . And does every android device support A2DP? If not, is it possible to stream audio between two android devices using bluetooth? Please help me understand this. I've looked through the following links: Receive audio via Bluetooth in Android, Google confirms bluetooth audio streaming fix for next version of Android 4.2 How can I stream audio from

What is the best way to stream a audio file to website users/listeners [closed]

最后都变了- 提交于 2019-11-27 09:38:42
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 11 months ago . I'm developing a music site which will stream audio files stored in a server to users, audio files will be played through flash player placed in a webpage.. As I heard I need to use a streaming media server for streaming audio files ( like 2mb to 3mb in size).. Do I need to use

Streaming audio from a Node.js server to HTML5 <audio> tag

痞子三分冷 提交于 2019-11-27 08:59:40
问题 I've been experimenting with binary streams in Node.js, and much to my amazement do actually have a working demo of taking a Shoutcast stream using node-radio-stream and pushing it into a HTML5 element using chunked encoding. But it only works in Safari! Here is my server code: var radio = require("radio-stream"); var http = require('http'); var url = "http://67.205.85.183:7714"; var stream = radio.createReadStream(url); var clients = []; stream.on("connect", function() { console.error("Radio

Receive audio via Bluetooth in Android

大兔子大兔子 提交于 2019-11-27 06:06:54
I want to create an Android application that is capable of receiving an audio stream. I thought of using the A2DP profile, but is seems as if Android doesn't support A2DP sink. Looks like there are a lot of people that's searching for a solution for this problem. But what about receiving an ordinary bit stream, and then convert the data into audio in the application? I was thinking of receiving an PCM or Mp3 data stream via the RFCOMM (SPP Bluetooth profile), and then play it using AudioTrack. First, how do I receive a bit stream on my Android phone via the RFCOMM? And is it possible to

How to download audio/video files from internet and store in iPhone app?

佐手、 提交于 2019-11-27 02:58:40
I am developing an iPhone app for music. I want to give some options to the user so they can listen the song/music by streaming or they can download the music in the app . I know how to stream the audio files in the app programmatically. But, i don't know how to download the audio files in the app and play the audio after download. And also user can pause the download while it is in download. Is it possible to do ? Can anyone please guide me and please share any sample code or tutorial for me? I have one more doubt: Can you please help me to create a folder inside of the app? Please help me.

Knowing when AVPlayer object is ready to play

蓝咒 提交于 2019-11-27 02:42:23
I'm trying to play an MP3 file that is passed to an UIView from a previous UIView (stored in a NSURL *fileURL variable). I'm initializing an AVPlayer with: player = [AVPlayer playerWithURL:fileURL]; NSLog(@"Player created:%d",player.status); The NSLog prints Player created:0, which i figured means it is not ready to play yet. When i click the play UIButton , the code i run is: -(IBAction)playButtonClicked { NSLog(@"Clicked Play. MP3:%@",[fileURL absoluteString]); if(([player status] == AVPlayerStatusReadyToPlay) && !isPlaying) // if(!isPlaying) { [player play]; NSLog(@"Playing:%@ with %d",

How can I tell Actions on Google to stream audio?

走远了吗. 提交于 2019-11-27 02:14:39
问题 I am writing an app to work with Google Actions. The only bummer is that I can't find any information about how to form my response so that Google will stream audio from a given URL. Does Google even support this yet? I have written the same app on Alexa already, and on Alexa all you have to do is Return an audio item (token, URL, play command) and Alexa will start streaming it. I should mention that I am NOT using API.AI, but am simply using the Actions SDK and am hosting my web service on

How could I play a shoutcast/icecast stream using HTML5?

心已入冬 提交于 2019-11-27 00:04:07
问题 Is it possible to play a shoutcast/icecast stream using HTML5? If so, how should I implement it? 回答1: Add a semicolon to the end of the http request. It IS the protocol set forth by shoutcast to override it's browser detection. Like this: <audio controls src="http://shoutcast.internet-radio.org.uk:10272/;"></audio> 回答2: There is a big problem with SHOUTcast, which I suspect is responsible for it not working even in Chrome which is supposed to support MP3. SHOUTcast can serve three different

Streaming mp3 audio with AVPlayer

自古美人都是妖i 提交于 2019-11-27 00:03:27
I'm hearing some conflicting reports about this. What I'm trying to do is stream an mp3 file from a URL. I've done hours of research, but I cannot find any good guides on how to do this, or even what kind of audio player I should use. Some friends tell me that AVPlayer can stream mp3, but the Apple documentation says it can't. I've poured over Matt Gallagher's audio streamer (http://www.cocoawithlove.com/2008/09/streaming-and-playing-live-mp3-stream.html), but that code was made a good while ago, and I'm new enough to this that it's hard to work through the autoreleases and retains and all