Add MultiCamCaptureSetting#cornerRadius option.

This commit is contained in:
shogo4405
2022-12-04 22:26:43 +09:00
parent cb22d0edb1
commit 7b658fbe37
13 changed files with 151 additions and 121 deletions
+4 -1
View File
@@ -109,7 +109,10 @@ final class LiveViewController: UIViewController {
currentFrame.origin.x += deltaX
currentFrame.origin.y += deltaY
pipIntentView.frame = currentFrame
rtmpStream.multiCamCaptureSettings = MultiCamCaptureSetting(regionOfInterest: currentFrame)
rtmpStream.multiCamCaptureSettings = MultiCamCaptureSetting(
cornerRadius: 16.0,
regionOfInterest: currentFrame
)
}
}