- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
To access the StreamManager, use your connectsession instance. i.e. connectSession.streamManager.
And you can use something like connectSession.streamManager.aspectRatio = StreamManager.AR_PORTRAIT.
For some reason, I don’t see the aspectRatio API being exposed in docs. But I will expose the API for aspectRatio as well do something regarding custom aspectRatio in coming release.
And yes, what you are doing is right, you can manually do vC.height and vC.width in layoutCameraStreams() to set any height/width you want.
Hope this helps
Thanks
Regards
Hironmay Basu
Views
Replies
0 Likes
Total Likes