1. 程式人生 > >It’s here (plus FAQs)! – google-exoplayer – Medium

It’s here (plus FAQs)! – google-exoplayer – Medium

  • If V1 does everything you need then there’s little reason to migrate as a matter of urgency. We’d still recommend migrating before Android O, however, since any tuning of ExoPlayer for the O release will be implemented in V2 and is unlikely to be back-ported.
  • V2 has many new features, and will be the version to which new features are added going forward. If you require these features, you’ll need to migrate.
  • V1 is tried and tested, and is used in Google’s own applications (e.g. YouTube) to power many millions of playbacks every day. We’re just getting started migrating our applications to V2, and so we’ve yet to validate V2 in the field and at scale to the same extent as V1. We estimate that migrating our applications will take a couple of months.
  • V2 has a different package name to V1. This makes it possible to ship both versions in a single apk. Doing so and controlling the enabled version using server-side configuration is one option for migrating to V2 whilst at the same time mitigating risk. We intend to adopt this approach for some of our own applications.