2014 snapchat source code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.0 KiB

  1. //
  2. // SCCaptureLogger.h
  3. // Snapchat
  4. //
  5. // Created by Pinlin on 12/04/2017.
  6. // Copyright © 2017 Snapchat, Inc. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. static NSString *const kSCCapturerStartingStepAudioSession = @"audio_session";
  10. static NSString *const kSCCapturerStartingStepTranscodeingVideoBitrate = @"transcoding_video_bitrate";
  11. static NSString *const kSCCapturerStartingStepOutputSettings = @"output_settings";
  12. static NSString *const kSCCapturerStartingStepVideoFrameRawData = @"video_frame_raw_data";
  13. static NSString *const kSCCapturerStartingStepAudioRecording = @"audio_recording";
  14. static NSString *const kSCCapturerStartingStepAssetWriterConfiguration = @"asset_writer_config";
  15. static NSString *const kSCCapturerStartingStepStartingWriting = @"start_writing";
  16. static NSString *const kCapturerStartingTotalDelay = @"total_delay";
  17. @interface SCManagedVideoCapturerLogger : NSObject
  18. - (void)prepareForStartingLog;
  19. - (void)logStartingStep:(NSString *)stepName;
  20. - (void)endLoggingForStarting;
  21. - (void)logEventIfStartingTooSlow;
  22. @end