UnityRecShare icon indicating copy to clipboard operation
UnityRecShare copied to clipboard

RecShare sample not working

Open RoyDaipayan opened this issue 7 years ago • 0 comments

The sample is not working. The recorded video is just black. The only change i made was changing the file path in "getVideoFilePath" from temp directory to Documents directory. This is how the method looks now

  • (NSString *)getVideoFilePath { NSString *docPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, true)firstObject]; //return [NSTemporaryDirectory() stringByAppendingPathComponent:TMP_COMPLETE_FILE_NAME]; return [docPath stringByAppendingPathComponent : TMP_COMPLETE_FILE_NAME]; }

RoyDaipayan avatar Jan 30 '19 06:01 RoyDaipayan