Comments (8)
I have the same problem. It appears that it receives a kCFStreamEventEndEncountered, but then just stops the stream instead of letting it finish playing. In addition, the progress field doesn't update after it read the last buffer. Seems the entire state model is lacking.
from audiostreamer.
I have the same problem. Ideas, anyone?
UPDATE: mine was a different problem, not related to this...
from audiostreamer.
sorry to pull up a dead list....
But did you guys get a chance to solve this? I'm stuck with the exact same issue....
Any guidance on how to stream short MP3 files??
from audiostreamer.
Experiencing the same issue but not only with a short MP3.
The streamer progress doesn't update after a period of time, the streamer falls in AS_STOPPING_EOF.
from audiostreamer.
I have the same problem.
from audiostreamer.
This seems to be a race condition. To fix this, I did an ugly hack (not a solution):
After line 1441 (after calling AudioQueueStart), I inserted a [NSThread sleepForTimeInterval:0.5]. It seems to solve the biggest problems although there are still issues with wrong state. I hope this will get properly fixed at some point. I am not familiar with AudioQueues, so I can only offer this quick-fix instead of a real solution.
from audiostreamer.
I encountered the same issue, for small mp3's I got "AudioQueue changed state in unexpected way." & I'm too unfamiliar with AudioQueues. I went through the code, changed kNumAQBufs to 8 & kAQDefaultBufSize to 512 & now the AudioStreamer works well with small files too.
from audiostreamer.
" changed kNumAQBufs to 8 & kAQDefaultBufSize to 512 " help me solve the issue.Thank you so much.
from audiostreamer.
Related Issues (20)
- I built a audioqueue framework which used lots of your code, can I publish it on github? HOT 1
- Does it work with iOS 7.0?
- How to switch rate ?
- Streaming and caching
- The function Seeks to a specific time (in seconds) when streaming not good
- 'CFReadStreamCreateForHTTPRequest' is deprecated: first deprecated in iOS 9.0
- Failing to start ShoutCast Stream HOT 1
- Play Shoutcast radio
- Play Wav from Internet
- play audio queue on iPod which system version is iOS6
- Soundcloud certain songs not working HOT 2
- Backgroundaudio not working in iOS7 HOT 3
- How do i get the played sound name ??? HOT 1
- Crash on CFReadStreamSetProperty HOT 1
- New version issue - "Audio packets are larger than kAQDefaultBufSize." HOT 5
- it can not continue play after the audio data from server missed some
- Stop after 10 min
- Playing Media LIbrary File
- Stream directly to xxx.xxx.xxx.xxx/stream.mp3?
- Is it possible to mix two streams in AudioStreamer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audiostreamer.