Thong Nguyen
7d4d7b847e
Merge pull request #153 from danielgindi/quality
...
Transcode using the same number of channels as the datasource
2014-12-29 16:41:23 +00:00
Daniel Cohen Gindi
61cb8a8a7b
Transcode using the same number of channels as the datasource
...
We also need to do the same for sample rate, but then we need to restart the audio unit graph
2014-12-18 00:51:01 +02:00
Daniel Cohen Gindi
8e2e451e9c
These SSL constants are deprecated since iOS 4.0
2014-12-17 17:31:54 +02:00
Daniel Cohen Gindi
88be5b33c6
Using AudioSampleType constant is deprecated in iOS 8
...
The equivalent is SInt16
2014-12-17 17:31:50 +02:00
Daniel Cohen Gindi
50a8b610c4
Provide a mechanism to hint for correct duration.
...
For cases where duration can't be calculated accurately
2014-12-17 17:31:20 +02:00
Thong Nguyen
c1b3b5d8cc
Merge pull request #141 from danielgindi/master
...
Allow using headers from submodule, framework-like
2014-11-10 20:28:53 +00:00
Daniel Cohen Gindi
477b1f175f
Allow using headers from submodule, framework-like
...
Now when we use the xcodeproj as a submodule we can do stuff like:
#import <StreamingKit/STKAudioPlayer.h>
without setting up weird include paths.
2014-11-10 21:05:23 +02:00
Thong Nguyen
000930a295
Fixed seek not working with HTTP
2014-11-10 17:25:02 +00:00
Thong Nguyen
269f335ee4
Smallf ix to ExampleAppMac app
2014-11-08 20:56:55 +00:00
Thong Nguyen
162d964372
STKHTTPDataSource tidyup
2014-11-08 20:04:29 +00:00
Thong Nguyen
ef7f42c97e
AudioPlayerView layout jig
2014-11-08 19:52:54 +00:00
Thong Nguyen
ea9e40b17a
Added progress for live streams in AudioPlayerView
2014-11-08 19:45:26 +00:00
Thong Nguyen
9510d74e58
Added progress for live streams in AudioPlayerView
2014-11-08 19:43:51 +00:00
Thong Nguyen
c7e90e4d2e
Merge branch 'master' of https://github.com/tumtumtum/StreamingKit
2014-11-08 15:45:43 +00:00
Thong Nguyen
cba7db8112
Added basic support for Icecast streams
2014-11-08 15:45:40 +00:00
Thong Nguyen
1333f7f025
Merge pull request #138 from danielgindi/master
...
Missing mime types
2014-10-31 09:36:23 +00:00
Daniel Cohen Gindi
ff779b669b
Missing mime types
2014-10-31 10:54:49 +02:00
Thong Nguyen
b07270910b
Fixed URL for HTTP pointing to local file. Oops
2014-09-11 15:29:32 +01:00
Thong Nguyen
4d9cea0a31
Fixed HE-AAC format being stripped
2014-08-20 15:49:36 +01:00
Thong Nguyen
acdf65c7cb
Merge pull request #128 from kwillick/master
...
Support adding http headers to a STKHTTPDataSource
2014-08-19 09:56:21 +01:00
Kipp Hickman
ac951bfc7a
Added ability to add http headers to a STKHTTPDataSource.
2014-08-15 12:00:49 -07:00
Thong Nguyen
8c64914314
Updated test URLs to use abstractpath.com
2014-06-10 16:29:30 +01:00
Thong Nguyen
a9dfb2eddf
Fixed thread related crashes in OutputRenderCallback
2014-04-07 15:28:34 +01:00
Thong Nguyen
3fcf054a23
Fix STKAudioPlayer.progress property thread-related crash
2014-04-07 15:15:36 +01:00
Thong Nguyen
a615419404
Fixed deployment target min should be 4.3 not 6.0
2014-04-05 13:15:43 +01:00
Thong Nguyen
e43a4613f8
startInternal now cleans up audio resources when the playback thread is finished. Added fix for undefned DBL_MAX
2014-04-05 13:08:58 +01:00
Thong Nguyen
ca928dfe1e
Removed buffering work (now in different branch)
2014-03-24 16:32:38 +00:00
Thong Nguyen
d7d583c3ba
Some chunking/paging buffering data source work
2014-02-24 17:05:54 +00:00
Thong Nguyen
7540045361
Some buffering data source tests/work
2014-02-20 17:10:51 +00:00
Thong Nguyen
972ae0e15b
Some more buffering data source work
2014-02-18 19:02:47 +00:00
Thong Nguyen
e3ed6c6dee
Removed AudioDataSource (for now). Changed all int64_t and long long types to SInt64. Started adding Buffered data source
2014-02-18 13:38:03 +00:00
Thong Nguyen
3398e8c64e
Explicitly wakeup playback thread if a delayed seek was queued
2014-02-16 17:07:39 +00:00
Thong Nguyen
f99201f54d
Explicitly wakeup playback thread if a delayed seek was queued
2014-02-16 17:07:10 +00:00
Thong Nguyen
44b9e7d2d1
Removed errant NSLog
2014-02-16 16:50:54 +00:00
Thong Nguyen
7aae2bcb6b
Allow queueing of a seek request for a file before it has loaded
2014-02-16 16:50:12 +00:00
Thong Nguyen
5a8068b859
STKAutoRecoveringHTTPDataSource shouldn't retry if inner data source no longer is registered
2014-02-16 11:57:23 +00:00
Thong Nguyen
728fc5bb21
More controllable grace period for waiting for data after seek
2014-02-16 11:43:01 +00:00
Thong Nguyen
c4053c964e
Smaller setting for STK_CYCLES_REQUIRED_BEFORE_SEEK_BECOMES_PLAYING
2014-02-16 01:49:23 +00:00
Thong Nguyen
c31df15a43
STKAudioPlayerInternalStateWaitingForDataAfterSeek no longer considered a buffering state externally. STKAudioPlayerInternalStateWaitingForDataAfterSeek turns into a playing state after a certain period. Prevents flapping between states when seeking tracks
2014-02-16 01:24:08 +00:00
Thong Nguyen
923baf5b89
STKAudioPlayerInternalStatePendingNext and STKAudioPlayerInternalStateWaitingForDataAfterSeeks are both now considered STKAudioPlayerStateBuffering states externally
2014-02-15 22:02:56 +00:00
Thong Nguyen
9199785202
Better backgroundTask start/stopping using blocks to safely avoid referencing STKAudioPlayer
2014-02-15 17:04:52 +00:00
Thong Nguyen
0618027252
Fixed iOS background task holding onto a reference to STKAudioPlayer and preventing it from being dealloc immediately
2014-02-15 16:55:16 +00:00
Thong Nguyen
188f880f5a
Tidied up some warnings
2014-02-14 22:19:41 +00:00
Thong Nguyen
ae9cee68f0
Slightly better bitrate calculation for VBR files
2014-02-14 22:06:46 +00:00
Thong Nguyen
eeece64417
Changed duration calculation to work better with short files
2014-02-14 18:34:55 +00:00
Thong Nguyen
243dc1f8a2
Fixed STKAudioPlayer:stop sometimes blocking too long
2014-02-14 14:49:08 +00:00
Thong Nguyen
8c608440ae
Merge pull request #81 from AndrewKosovich/master
...
Ported error handling from the previous Audjustable player.
2014-02-14 12:16:10 +00:00
Andrew Kosovich
9aed1b082a
Ported error handling from the previous Audjustable player.
...
STKDataSource is designed to return values < 0 in case of error, but new STKAudioPlayer doesn't handle that, which causes crash few lines later when calling AudioFileStreamParseBytes with read<0.
2014-02-14 13:37:43 +02:00
Thong Nguyen
6eb149f83a
Progress now returns 0 if player is stopped
2014-02-13 22:24:26 +00:00
Thong Nguyen
1243dbf0e1
setDataSource now immediately stops whatever is currently playing. STKAutoRecoveringHTTPDataSource watchdog timer improvements
2014-02-13 22:02:48 +00:00