port camera window to core profile