I think you need android::MediaSource.