How to use android exoplayer

后端 未结 5 2007
被撕碎了的回忆
被撕碎了的回忆 2021-01-31 08:28

I am looking to implement Google\'s ExoPlayer in my app. Their documentation seems pretty vague to me, and all I am looking for is to play a video from an URL, no c

5条回答
  •  野的像风
    2021-01-31 08:45

    A VideoView would be a better idea in case you wish to display only a Video URL. ExoPlayer requires some developmental effort, even for invoking its simple instance. However, there is an advantage of faster and more efficient playback, backed up by an active open-source community. This link provides a good walk through the implementation giving ample reasons to switch to ExoPlayer. Ofcourse, do checkout the official developer guide, the updated version has split modules for simpler implementation.

提交回复
热议问题