daily-co / react-native-daily-js

https://docs.daily.co/reference/rn-daily-js
BSD 2-Clause "Simplified" License
36 stars 13 forks source link

Public Room - Presentaion display Dynamic layout is not supporting #5

Closed rajasekhar-github closed 4 years ago

rajasekhar-github commented 4 years ago

We integrate the mobile app + Web site with same public room (Private room is not working) From the web browser the screen sharing in PPT is not showing completely in mobile app. Please check the ref. Landscape and portrait View we are getting same issue. Scaling also Issue.

rajasekhar-github commented 4 years ago

In there, we intentionally hard-code all videos (including screen shares) to be square, and we use objectFit="cover" in our DailyMediaViews so that the videos fill the squares, even if it means cutting them off. You could use objectFit="contain" to ensure that the contents fit the squares, and/or you could experiment with using another more common aspect ratio like 16:9 for screen shares as a default.

Please try that and see if it fixes the cut-off screen share issue.