Package 

Class WriteVideoValidator

  • All Implemented Interfaces:
    com.otaliastudios.transcoder.validator.Validator

    
    public class WriteVideoValidator
     implements Validator
                        

    A Validator that gives priority to the video track. Transcoding will not happen if the video track does not need it, even if the audio track might need it.

    • Method Summary

      Modifier and Type Method Description
      boolean validate(@NonNull() TrackStatus videoStatus, @NonNull() TrackStatus audioStatus) Return true if the transcoding should proceed, false otherwise.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 track
        audioStatus - the status of the audio track