# Camera position problem

**URL:** <https://devforum.zoom.us/t/camera-position-problem/7131>\
**Category:** iOS\
**Created:** [December 19, 2019, 8:18am UTC](https://devforum.zoom.us/t/camera-position-problem/7131 "2019-12-19T08:18:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hardc0der](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hardc0der/32/2646_2.png) [@hardc0der](https://devforum.zoom.us/u/hardc0der)\
**Post date:** [December 19, 2019, 8:18am UTC](https://devforum.zoom.us/t/camera-position-problem/7131/1 "2019-12-19T08:18:16Z")

</div>

**Description**  
We have two different applications (student and mentor) consisting of a marketplace. Exactly same code has been used to adjust camera position.  
While one of them is vertical, the other is horizontal.  
I added one screenshot for each application.

We would like to provide same experience in both apps. How can we solve this issue?

**Which version?**  
IOS 12 & 13

**Screenshots**  
[https://zoomus.zendesk.com/attachments/token/xR5T4tGth0TRpBrIBxrbI42SY/?name=studentApp+-+incorrect+experience.jpeg](https://zoomus.zendesk.com/attachments/token/xR5T4tGth0TRpBrIBxrbI42SY/?name=studentApp+-+incorrect+experience.jpeg)  
[https://zoomus.zendesk.com/attachments/token/fIVKdNDhP4Pqa57S8bVb6tmh0/?name=mentorApp+-+correct+experience.jpeg](https://zoomus.zendesk.com/attachments/token/fIVKdNDhP4Pqa57S8bVb6tmh0/?name=mentorApp+-+correct+experience.jpeg)

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [December 20, 2019, 11:52pm UTC](https://devforum.zoom.us/t/camera-position-problem/7131/2 "2019-12-20T23:52:20Z")

</div>

Hi [hardc0der](https://devforum.zoom.us/u/hardc0der),

Thanks for the post and the screenshots. Do you want to have the same orientation for both views? If so, you may leverage the following interface to set the video aspect:

```auto
/*!
 @brief Designated for changing video aspect according to customer's requirement.
 */
- (void)setVideoAspect:(MobileRTCVideoAspect)aspect;

```

Here is an example in our demo app: [https://github.com/zoom/zoom-sdk-ios/blob/f3a734324db65a99b9b578b2b25f0d3b2a2ba10e/MobileRTCSample/MobileRTCSample/CustomMeeting/VideoViewController.m#L52](https://github.com/zoom/zoom-sdk-ios/blob/f3a734324db65a99b9b578b2b25f0d3b2a2ba10e/MobileRTCSample/MobileRTCSample/CustomMeeting/VideoViewController.m#L52)

And the available aspect options are: [https://github.com/zoom/zoom-sdk-ios/blob/f3a734324db65a99b9b578b2b25f0d3b2a2ba10e/lib/MobileRTC.framework/Headers/MobileRTCVideoView.h#L14](https://github.com/zoom/zoom-sdk-ios/blob/f3a734324db65a99b9b578b2b25f0d3b2a2ba10e/lib/MobileRTC.framework/Headers/MobileRTCVideoView.h#L14)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:08pm UTC](https://devforum.zoom.us/t/camera-position-problem/7131/3 "2020-08-21T19:08:29Z")

</div>

Closed on August 21, 2020, 7:08pm UTC


