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.

21 lines
496 B

  1. //
  2. // NSURL+NSURL_Asset.h
  3. // Snapchat
  4. //
  5. // Created by Michel Loenngren on 4/30/17.
  6. // Copyright © 2017 Snapchat, Inc. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface NSURL (Asset)
  10. /**
  11. In case the media server is reset while recording AVFoundation
  12. gets in a weird state. Even though we reload our AVFoundation
  13. object we still need to reload the assetkeys on the
  14. outputfile. If we don't the AVAssetWriter will fail when started.
  15. */
  16. - (void)reloadAssetKeys;
  17. @end