- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
The default aspect ratio is 1.
I'm building a private 1-1 video chat where a user see a small view of his own webcam and a large view of his friend.
For that I'm using two WebcamSubscribers.
The large video view should have width=200 and height=280
I found a question of someone that is trying to do something similar
http://forums.adobe.com/thread/203057?tstart=750
How do I change the aspect ratio?
Do I need to change both WebcamPublisher and WebcamSubscriber or only the subscriber?
In the linked thread Hironmay mentioned setting the aspectRatio in the StreamManager API and overriding the layoutStreams function
of the WebcamSubscriber.
I couldn't find a way to access the StreamManager from the WebcamSubscriber and even if there is a way,
both the portrait and landscape aspect ratios have width larger then the height and I need a custom ratio where the height is larger then the width.
Can you please exaplain or give a simple example how to set a custom aspect ratio?
Is there a reason why this functionality is not exposed to the the WebcamSubscriber API?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes