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

Feature Request: add fitMode to properties in initPublisher #176

Open tusharvikky opened 5 years ago

tusharvikky commented 5 years ago

Feature Request

Description Currently, the video if we have a dynamic height set height to 35%. The video is being cropped on the user end. However, correct video is been published to opentok/subscriber.

Proposal fitMode: contain, etc will help video to be resized based on the available div height.

Links / references Documentation: https://tokbox.com/developer/sdks/js/reference/OT.html#initPublisher

vikaskonsam commented 4 years ago

I add my vote to this feature. Please add fitMode: contain|cover support for subscriber|publisher.