I have video data, I need to convert the data into '.h264' format and save into a Temporary file.
NSString* filename = [NSString stringWithFormat:@"capture.h264"];
NSString* path = [NSTemporaryDirectory() stringByAppendingPathComponent:filename];
NSURL* url = [NSURL fileURLWithPath:path];
I have created the temporary file path but, how can I attach the data along with the file and save.
Editted: