-
- All Implemented Interfaces:
-
com.otaliastudios.transcoder.validator.Validator
public class DefaultValidator implements Validator
The default Validator to understand whether to keep going with the transcoding process or to abort and notify the listener.
-
-
Method Summary
Modifier and Type Method Description booleanvalidate(@NonNull() TrackStatus videoStatus, @NonNull() TrackStatus audioStatus)Return true if the transcoding should proceed, false otherwise. -
-
Method Detail
-
validate
boolean validate(@NonNull() TrackStatus videoStatus, @NonNull() TrackStatus audioStatus)
Return true if the transcoding should proceed, false otherwise.
- Parameters:
videoStatus- the status of the video trackaudioStatus- the status of the audio track
-
-
-
-