Skip to content
Snippets Groups Projects
Commit d7b750a6 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Kateryna Kostiuk
Browse files

video call: send unmirrored camera frames

Change-Id: I6ea80078fe178278b98bf70a92975a20386f3dec
parent 86285073
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,8 @@ static id <VideoAdapterDelegate> _delegate;
image.size.width * 4,
colorSpace,
kCGBitmapByteOrder32Little | kCGImageAlphaPremultipliedFirst);
CGContextTranslateCTM(bitmap, image.size.width, 0);
CGContextScaleCTM(bitmap, -1.0, 1.0);
CGContextDrawImage(bitmap, CGRectMake(0, 0, image.size.width, image.size.height), imageRef);
CGContextRelease(bitmap);
CGColorSpaceRelease(colorSpace);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment