Package 

Class ExoPlayerSourceSelector

  • All Implemented Interfaces:
    com.brightcove.player.controller.SourceSelector

    
    public final class ExoPlayerSourceSelector
     implements SourceSelector
                        

    The default Source Selector used with ExoPlayer. It attempts selecting a DASHSource when available, or it will use selectSource otherwise.

    This selector prioritize HEVC sources for Android API level 21 and higher.

    • Method Summary

      Modifier and Type Method Description
      Source selectSource(@NonNull() Video video)
      static boolean canPlaySource(Source source) Check if the device has a decoder for the given source.NOTE: The source must contain a codecs to determine if the device has a decoder.
      • Methods inherited from class com.brightcove.player.controller.SourceSelector

        selectSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • canPlaySource

         static boolean canPlaySource(Source source)

        Check if the device has a decoder for the given source.NOTE: The source must contain a codecs to determine if the device has a decoder.

        Parameters:
        source - The source to check.