Commit Graph

253 Commits

Author SHA1 Message Date
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
Thong Nguyen a15c2c27ff Fixed stream not set to nil when error occurs when opening 2014-02-13 18:06:24 +00:00
Thong Nguyen aa441045aa Fixed pendingQueue and mostRecentlyQueuedStillPendingItem returning STKQueueEntry instead of queueItemId 2014-02-13 17:54:24 +00:00
Thong Nguyen 569764d869 Added watchdog to STKAutoRecoveringHTTPDataSource to catch TCP timeouts which otherwise would not raise an error since we aren't do any writes to the socket 2014-02-13 17:33:45 +00:00
Thong Nguyen 511b756694 Fixed pendingQueue and mostRecentlyQueuedStillPendingItem returning STKQueueEntry instead of original queueItemId 2014-02-13 11:58:19 +00:00
Thong Nguyen ab0c4d1315 STKAutoRecoveringHTTPDataSource now stops retrying to connect if DataSource no longer has an event loop 2014-02-13 11:34:05 +00:00
Thong Nguyen 6216abb0ab Changed STKCoreFoundationDataSource to not open in registerForEvents (delay open and registration) 2014-02-12 23:09:53 +00:00
Thong Nguyen 8c5b4fb298 Fixed openForSeek on STKHTTPDataSource potentially handling old URLs if URL provider is async 2014-02-12 19:53:21 +00:00
Thong Nguyen 03e9b8b208 Updated README 2014-02-11 23:13:34 +00:00
Thong Nguyen 60d48a0682 Added the ability to dynamically remove or add EQ unit to save battery when EQ unit is not needed 2014-02-11 19:24:41 +00:00