Tips of ExoPlayer #shibuya_apk

Tips of ExoPlayer #shibuya_apk

B0f8177e3259f29952640f98bf795965?s=128

satorufujiwara

July 15, 2016
Tweet

Transcript

  1. Tips of ExoPlayer @satorufujiwara

  2. • @satorufujiwara • CyberAgent, Inc / AbemaTV, Inc • FRESH!

    by AbemaTV • ExoPlayer / Kotlin • Organizer of Shibuya.apk
  3. Tips of ExoPlayer @satorufujiwara

  4. qiita.com/satorufujiwara

  5. Tips of ExoPlayer • About player state • SurfaceView or

    TextureView • Handle many callbacks • How to update to new version
  6. About player state • ExoPlayer.Listener#onPlayerStateChanged(boolean,int)

  7. SurfaceView or TextureView • https://google.github.io/ExoPlayer/faqs.html • If smooth animation or

    scrolling is not required then SurfaceView should be preferred.
  8. Handle many callbacks

  9. Too many callbacks…

  10. Handle many callbacks • Rearrange callbacks by it’s use-cases. •

    Implements only ExoPlayer.Listener to player class.
  11. How to update to new version

  12. Only 1 main contributor?

  13. Happenings in new releases • Change interfaces • Change constructor

    params
  14. How to update to new version • Don’t use ExoPlayer’s

    classes in Activity or Fragment • Create wrapper classes
  15. How to use ExoPlayer?

  16. github.com/satorufujiwara/ exoplayer-textureview