-
- 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 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
-
-
-
-