# How to get Full Screen preview using GocoderSdk camerapreview

**URL:** <https://community.wowza.com/t/how-to-get-full-screen-preview-using-gocodersdk-camerapreview/55055>\
**Category:** Wowza GoCoder SDK\
**Created:** [April 24, 2020, 3:21pm UTC](https://community.wowza.com/t/how-to-get-full-screen-preview-using-gocodersdk-camerapreview/55055 "2020-04-24T15:21:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phil\_Londrico1](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@Phil\_Londrico1](https://community.wowza.com/u/Phil_Londrico1)\
**Post date:** [April 24, 2020, 3:21pm UTC](https://community.wowza.com/t/how-to-get-full-screen-preview-using-gocodersdk-camerapreview/55055/1 "2020-04-24T15:21:10Z")

</div>

How to get a full screen when using cameraView in gocoder sdk for IOS

I’m Using GoCoderSDK to show the preview of the users stream. I get a greay area at the top and bottom of the camera, How can I make it a full screen. I’m ataching a screen shot for the same.

---

<div class="post-metadata">

**Author:** ![Cassidy\_Reilly](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@Cassidy\_Reilly](https://community.wowza.com/u/Cassidy_Reilly)\
**Post date:** [April 27, 2020, 3:29pm UTC](https://community.wowza.com/t/how-to-get-full-screen-preview-using-gocodersdk-camerapreview/55055/2 "2020-04-27T15:29:32Z")

</div>

There are some setting you can adjust here:

[https://www.wowza.com/docs/how-to-use-the-camera-view-in-gocoder-sdk-for-ios#set-the-preview-frame-size](https://www.wowza.com/docs/how-to-use-the-camera-view-in-gocoder-sdk-for-ios#set-the-preview-frame-size)

**Note:** If you specify a frame size that the active camera doesn’t support, the closest supported frame size is used.

Also, review this following doc for more info on devices that support various frame sizes.:

[http://community.wowza.com/community/questions/50852/ios-mobile-app-stream-not-get-the-full-screen-view.html](http://community.wowza.com/community/questions/50852/ios-mobile-app-stream-not-get-the-full-screen-view.html)

---

<div class="post-metadata">

**Author:** ![Adam\_Powers](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@Adam\_Powers](https://community.wowza.com/u/Adam_Powers)\
**Post date:** [May 27, 2020, 4:36am UTC](https://community.wowza.com/t/how-to-get-full-screen-preview-using-gocodersdk-camerapreview/55055/3 "2020-05-27T04:36:58Z")

</div>

After looking at several documents and links - this is what worked for me.

```auto
                   if let previewConfig = self.goCoder?.cameraPreview?.config {
                        previewConfig.load(WOWZFrameSizePreset.preset1280x720);
                        self.goCoder?.cameraPreview?.config = previewConfig;
                    }
		    // Start the camera preview
                    self.goCoder?.cameraPreview?.start()
										

```

So if you add this code to your viewDidAppear function - it will set frame rate to 720px resulting in full screen camera view.

---

<div class="post-metadata">

**Author:** ![video\_streaming](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@video\_streaming](https://community.wowza.com/u/video_streaming)\
**Post date:** [May 27, 2020, 3:06pm UTC](https://community.wowza.com/t/how-to-get-full-screen-preview-using-gocodersdk-camerapreview/55055/4 "2020-05-27T15:06:05Z")

</div>

Great! Glad you got it to work @Adam Powers. Making sure you received the announcement that Wowza will no longer support the GoCoder SDK and Wowza Player (needed for GoCoder SDK protocol: WOWZ) after Jan 5th, 2021 and we are offering our customers help as far as what alternative SDKs and players exist for your use case.

[https://info.wowza.com/product-notification-april-2020](https://info.wowza.com/product-notification-april-2020)
