- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
When you mention the width and height of a WebcamSubscriber, it takes the size of the external UIComponent (Subscriber) holding your streams. You need to mention the height and the aspect ratio or width and aspect ratio. The other component of width/height is calculated from aspect ratio while laying out the streams. We provide three aspect ratios currently, standard, landscape and portrait and default is standard which is 1 so width and height is same for you.
You can take a look into the source of the computeArea_Rows, computeArea_Columns and layoutCameraStreams in WebcamSubscriber source if you are interested in knowing the calculations behind stream layouts.
Hope this helps
Thanks
Regards
Hironmay Basu
Views
Replies
Total Likes