public virtual VideoOperation FaceDetectionAndTracking(string videoUrl)
 {
     return(PolicyService.ExecuteRetryAndCapture400Errors(
                "VideoService.FaceDetectionAndTracking",
                ApiKeys.VideoRetryInSeconds,
                () =>
     {
         var result = VideoRepository.FaceDetectionAndTracking(videoUrl);
         return result;
     },
                null));
 }
Example #2
0
        public virtual VideoOperation FaceDetectionAndTracking(string videoUrl)
        {
            try {
                var result = VideoRepository.FaceDetectionAndTracking(videoUrl);

                return(result);
            } catch (Exception ex) {
                Logger.Error("VideoService.FaceDetectionAndTracking failed", this, ex);
            }

            return(null);
        }