How to transfer FileInputStream to video?

I would like to know how to provide FileInputStream for Videoview. I see that we have an API such as setDataSource () for mediaplayer in which you can specify a file descriptor. Is this possible in the video?

+4
source share
1 answer

Why do you want to install FileInputStream?

use path or url

For your VideoView information only, I'm a thin cover on top of MediaPlayer . Therefore, if you need to do this, write your own VideoView.

0
source

Source: https://habr.com/ru/post/1341297/


All Articles