[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 View on GitHub

@xumo-95 is already working on this.

Since Mar 14, 2022.

Assessment

This issue has not been assessed yet.

Description

Bug Needs: triage :mag:

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

  • Version 'AzureCommunicationCalling', '1.0.1'
Dominant language
No language data
Stars
340
Forks
113
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/Communication

All issues in Azure/Communication

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.