How to load media from local storage to cast video to Android TV?

815 Views Asked by At

As from sample google casting-app we can cast video to Android TV via URL. I want to cast video from local storage. I have not found any solution yet.

Let me know if anyone have implemented it.

https://github.com/googlecast/CastVideos-android (Sample casting app by google)

1

There are 1 best solutions below

0
On

MediaStore API your problem solved

https://developer.android.com/training/data-storage/shared/media

used it