In socket stream while receiving data, I am able to get NSMutableData
into image and able to save in photos but not able to convert NSMutableData
into video
for Image I'm doing
UIImage *imagess = [[UIImage alloc]initWithData:received];
//dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
UIImageWriteToSavedPhotosAlbum(imagess, nil, nil, nil);
});
Somebody help me for same thing for video ?