Package com.brightcove.player.render
Class InclusiveHEVCVideoSelectionOverride
- java.lang.Object
-
- com.brightcove.player.render.InclusiveHEVCVideoSelectionOverride
-
- All Implemented Interfaces:
SelectionOverrideCreator
@Deprecated public final class InclusiveHEVCVideoSelectionOverride extends java.lang.Object implements SelectionOverrideCreator
Deprecated.Selects all the indices of the Video
Formats that has HVC codecs plus any otherFormatwith a different codec and different resolution than the HVC ones.It then creates a
DefaultTrackSelector.SelectionOverridewith this information.If
TrackGroupretrived by the track index is either null or empty,SelectionOverrideCreator.EMPTY_SELECTION_OVERRIDEis returned.
-
-
Field Summary
-
Fields inherited from interface com.brightcove.player.render.SelectionOverrideCreator
EMPTY, EMPTY_SELECTION_OVERRIDE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InclusiveHEVCVideoSelectionOverridecreate(android.content.Context context)Deprecated.Creates an instance of InclusiveHEVCVideoSelectionOverridecom.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverridecreate(com.google.android.exoplayer2.source.TrackGroupArray trackGroups, int trackIndex, com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters parameters)Deprecated.Creates aDefaultTrackSelector.SelectionOverridebased on theTrackGroupand track index provided.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.brightcove.player.render.SelectionOverrideCreator
create
-
-
-
-
Method Detail
-
create
public static InclusiveHEVCVideoSelectionOverride create(@NonNull android.content.Context context)
Deprecated.Creates an instance of InclusiveHEVCVideoSelectionOverride- Parameters:
context- the android context
-
create
@NonNull public com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride create(@NonNull com.google.android.exoplayer2.source.TrackGroupArray trackGroups, int trackIndex, @Nullable com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters parameters)Deprecated.Description copied from interface:SelectionOverrideCreatorCreates a
DefaultTrackSelector.SelectionOverridebased on theTrackGroupand track index provided.The
TrackGroupArraycan be retrieved by callingMappingTrackSelector.MappedTrackInfo.getTrackGroups(int).- Specified by:
createin interfaceSelectionOverrideCreator- Parameters:
trackGroups- the Track Group Array from the current VideotrackIndex- the track index of the TrackGroupArray to be impacted.parameters- it contains the TrackSelector parameters that can further constraint the SelectionOverride- Returns:
- the Selection Override to be set to the
DefaultTrackSelector
-
-