TeamMaestro / nativescript-opentok

Integrates OpenTok (TokBox) WebRTC for NativeScript.
Other
10 stars 16 forks source link

Publisher element height and width in % #39

Closed tushar-1health closed 7 years ago

tushar-1health commented 7 years ago

Hello,

I stumbled upon a weird issue today. If we configure the element

<TNSOTSubscriber #subscriber id="subscriber" width="1" height="1"></TNSOTSubscriber>
<TNSOTPublisher #publisher id="publisher" width="100%" height="100%"></TNSOTPublisher>

The app crashes in iOS device. However, as soon as we set a defined height and width to the publisher element it works out fine.

Could you help me with it

sean-perkins commented 7 years ago

Does the crash produce any helpful error logs?

tushar-1health commented 7 years ago

It crashes w/ no errors in iOS (Device as well as Simulator). Android works fine with no errors and 100% heights and widths.

triniwiz commented 7 years ago

Fixed in #41