Error in iOS ionic app video display

iosrtc version - 6.0.11
iOS deployment target - 13.5
xcode version - 11.5
openvidu version in app - 2.14.0
openvidu version in backend - 2.13.0
platform - ionic 5
checking device - iPhone 11 pro max

Error:
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-07-08 15:54:54.287656+0530 PatientMD[5181:2197869] [LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don’t want.
Try this:
(1) look at each constraint and try to figure out which you don’t expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(Note: If you’re seeing NSAutoresizingMaskLayoutConstraints that you don’t understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
“<NSAutoresizingMaskLayoutConstraint:0x2810f5220 h=–& v=–& UIView:0x106c6ae40.minY == 950 (active, names: ‘|’:WKWebView:0x107823000’Doctor Dashboard’ )>”,
“<NSLayoutConstraint:0x2810f4dc0 UIView:0x106c6ae40.top == UILayoutGuide:0x280a8e220’UIViewSafeAreaLayoutGuide’.top (active)>”,
“<NSLayoutConstraint:0x2810d34d0 ‘UIViewSafeAreaLayoutGuide-top’ V:|-(44)-[UILayoutGuide:0x280a8e220’UIViewSafeAreaLayoutGuide’] (active, names: ‘|’:WKWebView:0x107823000’Doctor Dashboard’ )>”
)

getting blank screen in app. but subscriber can hear and view video of publisher. means camera and audio working properly. means streaming working properly from app but getting blank screen in app. even can not see subscribers video in app. I saw this issue in iosrtc latest bug. so you can confirm if you are also getting this issue or not.

cordova-rtc/cordova-plugin-iosrtc#422

working fine in safari browser in iPhone but not in app.

Do you have this problem with the official ionic tutorial?

No. In official app, there is few simple styling mentioned for sticking video in screen. But any developer can not use that styling. And other styling not supporting by ios app. Openvidu should give style guide for ios app. Currently i am fixing one by one. For proper styling, developer should have ionic and xcode knowledge.

Then, you have a problem on your own code, right?

When you finish your own application, if you can contribute to OpenVidu, you can share with us your code so others can learn from it.

What do you think?

Why not. Sure i will share.

1 Like

Hello,

I have kinda the same problem in a native iOS App as explained here

Remotes can see and hear me but I can’t see and hear them (except from a particular network condition such as Tim mobile operator on my phone)

Yes in video default added “z-index: -1”. Comment that and u can see other’s video. But will all messed design.