opentok / cordova-plugin-opentok

Cordova Plugin for OpenTok - add webrtc video to your iOS or Android App
MIT License
30 stars 80 forks source link

TBSubscriber does not comply to given size #110

Open wolfenrain opened 6 years ago

wolfenrain commented 6 years ago

Bug Report

When you create a Subscriber with width/height properties that are not "100%" then its simply doesn't do anything with it.

Current behavior Doesnt change size to the size I give it.

Steps to reproduce Subscribe to session with width/height of "50%" or "500px"

What is the current bug behavior? Doesnt change size to the size I give it.

What is the expected correct behavior? That it changes the size to what I give it.

Relevant logs and/or screenshots https://github.com/opentok/cordova-plugin-opentok/blob/master/src/js/OTSubscriber.coffee#L53 https://tokbox.com/developer/sdks/js/reference/Session.html#subscribe offical docs