Open tysjiang opened 9 years ago
bizarre... I can actually get video running with 1.0.3 but the app is unusable as the UI's footer gets pushed way down. If I switch to 1.0.2, the UI is fine but then I get a JSON error when trying to activate video (same code used in both with the proper opentok.js respectively).
It's as if something changed in 1.0.3 that actually messes with the webview somehow. For example, I also have a background image for my main view. In 1.0.2, it gets contained and sized properly to fit the screen but in 1.0.3, the background image is full sized so you would have to scroll to see the entire image, thus, it pushes the footer of the app to the way bottom.
Is there anything that changed in opentok 1.0.3 that somehow touches/adjusts the webview, its meta viewport settings, or anything like that?
update: I'm now able to get the footer to display properly by removing this line in the opentok 1.0.3 plugin.xml file: uses-sdk android:minSdkVersion="16" android:targetSdkVersion="17" -or- by making the targetSdkVersion = 19
My best guess is that when the targetSdkVersion is set to 17, the default Lollipop browser goes into quirksmode regarding the webview's viewport and does weird things...
Now.. I'm able to get one on one video going and all but there's still an issue in which it seems like the video of the publisher and subscriber position and width/height is calculated based off of the webview's dimensions and not the viewport's, so all the video are very small and positions are off...
Running into a strange issue, I have the opentok 1.0.3 Android built with Intel XDK v1826 (cordova 4.1.2 android builds) successfully but upon deployment, the footer of the app does not show anymore.
More detailed points:
Anyone else have this issue? Not quite sure how to proceed in tracking this one down...