audio-streaming

audio streaming server

▼魔方 西西 提交于 2019-12-08 00:10:36
问题 I'm a php developer, trying to develop a website to stream on-demand music to the users. After a lot of googling I'm confused about which kind of server or tools should I use? I've seen some like WOWZA or SHOUTCAST, but I don't know which one is the best for my needs. I want to provide high quality audio files. So maybe I should use 320kbps mp3 format or something else but with the same quality. I don't need live streaming. I just need on-demand streaming of the music files and the ability

iPhone Radio Streaming for WMA audio files

狂风中的少年 提交于 2019-12-07 19:18:44
问题 I need to implement iphone streaming functionality for WMA audio files from the server. iPhone can support only mp3, wav, aac audio files. But I need to play wma audio streaming for the iphone radio application. Can anyone tell me how to do this things. I really thankful for your help. Thanks in advance. 回答1: Basically impossible unless you feel like writing your own decoder. The iPhone doesn't support WMA and that's kind of the end of it. 回答2: I totally agree with Noah Witherspoon. Just

variable speed control for audio playback in the browser?

落花浮王杯 提交于 2019-12-07 18:12:44
问题 Is there a way to change the playback speed of audio in the browser? What is best to accomplish this task, html5 audio, or flash, or something else? Are there any specific libraries that would help with this? 回答1: Use the Web Audio API. In the following code I answered your other question. best way to loop audio in the browser? Modify the code in my answer above as follows for a playback speed example. Right below source.loop = loopOnOff; add source.playbackRate.value = 1; // change number to

Audio will play in 3.2 sim but not in 4.x

£可爱£侵袭症+ 提交于 2019-12-07 11:13:09
问题 This streaming audio app will play in 3.2 simulator, but not in 4.x sim or my 4.1 iPhone. The console logs are as follows: 4.0 Sim This GDB was configured as "x86_64-apple-darwin".Attaching to process 13237. [Switching to process 13237] 2010-11-15 19:54:49.606 Issues[13237:1c07] AddRunningClient starting device on non-zero client count 2010-11-15 19:55:16.220 Issues[13237:6307] AQMEIO_Base::DoStartIO: timeout 2010-11-15 19:55:16.498 Issues[13237:6307] AQMEDevice::StartIO: error -66681 2010-11

How handle streaming error with AVPlayer

亡梦爱人 提交于 2019-12-07 10:45:17
问题 I use AVPlayer to stream tracks.I'm trying to handle all errors like network unavailable or stream unaivalable But I find any handler for this kind of error. I've already added a KVO for on the avplayer's status. [self.player addObserver:self forKeyPath:@"status" options:0 context:nil]; But even the stream doesn't exist (example: wrong url), the status switch to AVPlayerStatusReadyToPlay. EDIT Solution was to work with AVPLayerItems and use AVQueuPlayer. The other problem was I reallocated

AVPlayer streaming stops in background due to gaps [closed]

末鹿安然 提交于 2019-12-07 09:01:57
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I'm attempting to achieve gapless playback due to iOS idling my AVPlayer when the app is in background mode. Before answering, yes, I have the plist modified, audio session properly setup and everything is fine

Need Android equivalent of AudioInputStream

 ̄綄美尐妖づ 提交于 2019-12-07 06:33:24
问题 I'm trying to write an Android app that analyzes content from the user's music library. Let's assume that these are mp3 files on the SD drive, for starters. I'm able to find Java algorithms to analyze music files, but I can't find an API to read and decode the files (not play them. There's an API to play the files, and even classes for audio effects, but I don't see any way for an app to get to the decoded data from a music file. I can read from microphone. J2SE has a class AudoInputStream

How to set pan in IOS Audio Unit Framework

我的未来我决定 提交于 2019-12-07 06:18:21
问题 Hello stack overflow users, i want to change pan position using UISlided in my IOS application. i am upgrading whole app which is currently using AudioStreamer of Matt Gallagher To change the pan value in in AudioStreamer used below code. AudioQueueRef audioQueue; // defined in AudioStreamer.h file - (void)changePan:(float)newPan { OSStatus panErr = AudioQueueSetParameter( audioQueue, kAudioQueueParam_Pan, newPan); NSLog(@" setting pan: %ld", panErr); if( panErr ) NSLog(@"Error setting pan:

InputStream won't close, or takes forever to

梦想的初衷 提交于 2019-12-07 03:10:31
问题 I'm attempting to download an external mp3 into internal storage. However, the files I'm attempting to download are big, so I'm trying to download them in 1MB chunks so that you can begin playing them while the rest is downloaded. Here's my stream code: InputStream is = null; OutputStream os = null; try { HttpClient client = new DefaultHttpClient(); HttpGet get = new HttpGet( url ); HttpResponse response = client.execute( get ); MyLog.d( "Connection established" ); byte[] buffer = new byte

Which protocol should I use for streaming audio (not live)? [closed]

孤街醉人 提交于 2019-12-07 02:41:11
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I'm trying to write a Python server that streams one requested mp3 file from start to end. (No live streaming) I'd like to have the