ios - AVCam Demo OverscanCompensation implementation -


i'm working avcam demo app present live camera feed on airplay or apple hdmi adapter import hd camera switcher.

the issue i'm having overscancompensation remove huge black border mirrored view.

the documentation have found implement screen.overscancompensation = 3; method someplace? have tried put viewdidload , let me, doesn't change on external view?

i had success of sorts airplay demo (quellish) using uiimagepicker, prefer implement avfoundation exercise.

is there better way achieve i'm looking without having implement separate view controllers?

all need is, upon setting external screen (via, say, if ([[uiscreen screens] count] > 1) externalscreen = (uiscreen *)[[uiscreen screens] objectatindex:1];), set overscancompensation property of above uiscreen instance uiscreenoverscancompensationinsetapplicationframe (=2). it'll entirely rid of both border (overscanning) , image quality-deterioating scaling.

see http://www.iphonelife.com/blog/87/tv-display-output-why-does-your-picture-have-black-border-and-how-can-it-be-fixed more info.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -