MediaPlayer

suggest change

Syntax

Remarks

The MediaPlayer usage is mainly based on the State diagram:

That means that in order to play audio or video, a defined sequence of actions must occur in a specific order. It also states what actions can be made in which state.

The MediaPlayer API lacks flexibility (adding a custom decoder and rendering logic) and lacks support for Dynamic Adaptive Streaming over HTTP (DASH) and SmoothStreaming. For these, look into ExoPlayer.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents