/MediaPlayer

Demonstrates different ways of streaming videos using MediaPlayer API.

Primary LanguageJavaMIT LicenseMIT

MediaPlayer

Demonstrates different ways of streaming videos using MediaPlayer API.

  • Fixed Aspect Ratio - Video display area is fixed - streamed video's aspect ratio changes to video displayed area so video is distorted.
  • Adaptive Aspect Ratio - Video display area is adaptive - the height changes to same height as video height.
  • Fixed Aspect Ratio Instagram - Video display area is fixed, it is a streamed INSTAGRAM video.
  • Live Stream - Demonstrates use of MediaPlayer API for live streaming.