Azure / Azure/Communication

[iOS AzureCommunicationCalling 1.0.1] local video stream is rotated 180 degree when the UIDevice.set UIInterfaceOrientationMaskPortrait

Open
#366 3 comments 0 reactions 1 assignee Claimed by @xumo-95 View on GitHub
Bug Needs: triage :mag:
Dominant language
No language data
Stars
340
Forks
113
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When the code
```UIDevice.current.setValue(UIInterfaceOrientationMask.portrait.rawValue, forKey: "orientation")```
being called, the local video renderering would rotated 180 degree

**To Reproduce**
Steps to reproduce the behavior:
1. Open the local video preview, and start local video stream renderering
2. Call UIDevice.current.setValue(UIInterfaceOrientationMask.portrait.rawValue, forKey: "orientation") in the code anywhere
3. The local video stream would rotated 180 degree
4. See error

**Expected behavior**
The local video stream shouldn't do any rotation when there is orientation mask set

**Screenshots**
![image](https://user-images.githubusercontent.com/75647512/131761388-942ecdfd-4767-4289-a956-2818a75f71ed.png)

- Version 'AzureCommunicationCalling', '1.0.1'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.