Learning Android ExoPlayer to stream a video and every tutorial I come across seems to be outdated. For example in Code Labs tutorial: DataSource.Factory is deprecated: https://codelabs.developers.google.com/codelabs/exoplayer-intro/#2
This one: https://android.jlelse.eu/android-exoplayer-starters-guide-6350433f256c
the ExtractorMediaSource is deprecated. I saw on Stack someone said to replace with ProgressiveMediaSource but that also has a red squiggly line through the bottom of that.
What can I edit in either tutorial to make it work properly. I'd really like to see if I can get something going on the second one from Android Pub.
Thanks for your help!