add seeking video support (#21) and fix streaming while caching (#17)

This commit is contained in:
Alexey Danilov
2015-10-04 00:20:22 +06:00
parent 9ffa983f58
commit 241d232c83
16 changed files with 208 additions and 46 deletions

View File

@@ -22,7 +22,7 @@ public class ByteArraySource implements Source {
}
@Override
public int available() throws ProxyCacheException {
public int length() throws ProxyCacheException {
return data.length;
}