Open Fanpei920 opened 3 years ago
Hi @Fanpei920,
Are you still having this issue?
To start the screen capture are you tapping the "Start Broadcast" or "Start Conference" button?
Thanks!
@timrozum
Yes, I still have this issue.
Following these steps and it can be reproduced.
Thanks!
@Fanpei920 thank you very much for reporting this issue!
I am able to reproduce it on the iPad. I don't think it is an issue on the iPhone because orientation is automatically locked by the system when capturing the app screen. I don't know why iOS and iPadOS behave differently. I am looking into a solution.
Hi @Fanpei920,
I have transferred this issue to our video SDK repo since the SDK is impacted.
After looking into this more I believe that this problem is caused by an Apple bug. I have submitted a bug report to Apple.
Unfortunately I don't think there is a reliable workaround that we can apply inside the SDK.
You could consider locking the UI orientation during screen capture on iPad to prevent the issue. The system does this automatically on iPhone.
Description
The screen broadcast ratio can't be adjusted correctly after rotating the device
Steps to Reproduce
Launch ReplayKit example
Rotate deivce the capture ratio didn't be adjusted as showed in capture below.
Code
ReplayKitExample.
Expected Behavior
the ratio should be adjusted correctly after rotating.
Actual Behavior
Capture above.
Reproduces How Often
always
Versions
All relevant version information for the issue.
Video iOS SDK
3.7 via CocoaPods
Xcode
12.2
iOS Version
14.2
iOS Device
iPad Pro 12.9 inch