danikula / danikula/AndroidVideoCache

Music play while buffering

Open
#263 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

use AndroidVideoCache to cache music can't play while buffering, only when finished the buffer can play music, why?

```
HttpProxyCacheServer proxy = MainApplication.getProxy(mContext);
proxy.registerCacheListener(this, item.getSongUri());
String proxyUrl = proxy.getProxyUrl(item.getSongUri());
mMusicPlayer.setDataSource(proxyUrl);
mMusicPlayer.prepareAsync();
mMusicPlayer.setOnPreparedListener(this);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.