Compare commits

...

6 Commits

Author SHA1 Message Date
Pavel Lukandiy d02e624bc9 Revert "Playback speed"
This reverts commit 32d4330195.
2017-05-22 16:25:48 +03:00
Pavel Lukandiy bbf87829ec Revert "Refactor"
This reverts commit 4525951e5c.
2017-05-22 16:24:39 +03:00
Pavel 86a870d0d1 Merge pull request #2 from TouchInstinct/feature/seek
Feature/seek
2017-05-16 16:43:18 +03:00
Pavel Lukandiy 4525951e5c Refactor 2017-05-16 16:05:48 +03:00
Pavel Lukandiy 32d4330195 Playback speed 2017-05-16 16:05:37 +03:00
Anton a3d8b06975 STKAutoRecoveringHTTPDataSource http error handling fix 2016-09-22 16:10:04 +03:00
1 changed files with 6 additions and 7 deletions

View File

@ -369,16 +369,15 @@ static void PopulateOptionsWithDefault(STKAutoRecoveringHTTPDataSourceOptions* o
[self.delegate dataSourceEof:self];
}
-(void) dataSourceErrorOccured:(STKDataSource*)dataSource
{
- (void)dataSourceErrorOccured:(STKDataSource*)dataSource {
NSLog(@"dataSourceErrorOccured");
if (self.innerDataSource.httpStatusCode == 416 /* Range out of bounds */)
{
/* Range out of bounds */
if (self.innerDataSource.httpStatusCode == 416) {
[super dataSourceEof:dataSource];
}
else
{
} else if ([self hasGotNetworkConnection]) {
[super dataSourceErrorOccured:dataSource];
} else {
[self processRetryOnError];
}
}