# Video scaling changing after app first run

**URL:** <https://devforum.zoom.us/t/video-scaling-changing-after-app-first-run/138155>\
**Category:** Video SDK\
**Tags:** android\
**Created:** [October 20, 2025, 3:57pm UTC](https://devforum.zoom.us/t/video-scaling-changing-after-app-first-run/138155 "2025-10-20T15:57:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![celioArc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/celioarc/32/69374_2.png) [@celioArc](https://devforum.zoom.us/u/celioArc)\
**Post date:** [October 20, 2025, 3:57pm UTC](https://devforum.zoom.us/t/video-scaling-changing-after-app-first-run/138155/1 "2025-10-20T15:57:22Z")

</div>

I want to use the video canvas at 4:3 scale, and it always looks correct after going through the camera permission screen. But every other time I open the app, with the permission already granted, the video canvas scale displays at 16:9.

I disabled Full HD within the Zoom Video SDK parameters and am subscribing to the canvas with the following parameter:  
ZoomVideoSDKVideoAspect.ZoomVideoSDKVideoAspect\_Original.

How can I always use the scale 4:3?

---

<div class="post-metadata">

**Author:** ![ticorrian.heard](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ticorrian.heard/32/70213_2.png) [@ticorrian.heard](https://devforum.zoom.us/u/ticorrian.heard)\
**Post date:** [October 20, 2025, 6:32pm UTC](https://devforum.zoom.us/t/video-scaling-changing-after-app-first-run/138155/2 "2025-10-20T18:32:41Z")

</div>

Hi @celioArc can you provide a code snippet of your apps video subscribe/unsubscribe logic?

---

<div class="post-metadata">

**Author:** ![celioArc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/celioarc/32/69374_2.png) [@celioArc](https://devforum.zoom.us/u/celioArc)\
**Post date:** [October 22, 2025, 2:03pm UTC](https://devforum.zoom.us/t/video-scaling-changing-after-app-first-run/138155/3 "2025-10-22T14:03:08Z")

</div>

Sure, Ticorrian.

```auto
lifecycle.coroutineScope.launch {
    viewModel.videoStreamingStateFlow.collect { state ->
        when (state) {
            is VideoStreamingState.Streaming -> {
                state.canvas.subscribe(
                    shareView,
                    ZoomVideoSDKVideoAspect.ZoomVideoSDKVideoAspect_Original,
                    ZoomVideoSDKVideoResolution.VideoResolution_720P
                )
                shareView.visibility = View.VISIBLE
                shareView.doOnLayout {
                    viewModel.sendCameraPreviewDimensions(it.width, it.height)
                }
                statusBarView.setVideoRecordingStatus(true)
            }

            is VideoStreamingState.NotStreaming -> {
                state.canvas?.unSubscribe(shareView)
                shareView.visibility = View.GONE
                statusBarView.setVideoRecordingStatus(false)
            }
        }
    }
}

```

---

<div class="post-metadata">

**Author:** ![celioArc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/celioarc/32/69374_2.png) [@celioArc](https://devforum.zoom.us/u/celioArc)\
**Post date:** [October 24, 2025, 2:13pm UTC](https://devforum.zoom.us/t/video-scaling-changing-after-app-first-run/138155/4 "2025-10-24T14:13:34Z")

</div>

Hi Ticorrian.  
What logs do you want me to provide?  
To verify which part of the code is saving the scale configuration incorrectly.

---

<div class="post-metadata">

**Author:** ![ticorrian.heard](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ticorrian.heard/32/70213_2.png) [@ticorrian.heard](https://devforum.zoom.us/u/ticorrian.heard)\
**Post date:** [October 28, 2025, 2:01am UTC](https://devforum.zoom.us/t/video-scaling-changing-after-app-first-run/138155/5 "2025-10-28T02:01:47Z")

</div>

Hi @celioArc Can you print the value of `ZoomVideoSDKVideoAspect.ZoomVideoSDKVideoAspect_Original`

`when (state) {`  
` is VideoStreamingState.Streaming -> {`

` here---> println(ZoomVideoSDKVideoAspect.ZoomVideoSDKVideoAspect_Original)`  
` state.canvas.subscribe(`  
` shareView,`  
` ZoomVideoSDKVideoAspect.ZoomVideoSDKVideoAspect_Original,`  
` ZoomVideoSDKVideoResolution.VideoResolution_720P`  
` )`  
` shareView.visibility = View.VISIBLE`  
` shareView.doOnLayout {`  
` viewModel.sendCameraPreviewDimensions(it.width, it.height)`  
` }`  
` statusBarView.setVideoRecordingStatus(true)`  
` }`

` is VideoStreamingState.NotStreaming -> {`  
` state.canvas?.unSubscribe(shareView)`  
` shareView.visibility = View.GONE`  
` statusBarView.setVideoRecordingStatus(false)`  
` }`  
` }`

I would like to verify the value is not getting nulled for any reason when you restart the app.
