03-11-2018 08:02 PM
I can resize the remote video on android and web using pinch gesture while call is connected. Both of them have the same behavior where the remote video's size will follow the container's size(div element on web and layout on android) so I thought that it would be the same on iOS.
But when I change the size of the UIView, sometimes the size of the remote video doesn't match the UIView.
Any idea?
Regards,
Edwin R
04-10-2018 12:17 AM
Hi Edwin,
Can I confirm if you are using the Advanced SDK or the Expert Assist SDK?
I assume the Advanced SDK?
Thanks,
Rob
04-10-2018 12:20 AM
Hi Rob,
Yes, I'm using advanced sdk
Regards
Edwin R
04-10-2018 05:01 AM
Hi Edwin,
It is not possible on iOS.
It is documented in the developer guide in the Video Views and Preview Views section of each platform:
iOS
If there are calls in progress when the application sets the properties, the changes take effect when the next video call is made.
Android
If there are calls in progress when the properties are set, the changes will take effect immediately and
endure for future calls. If there are no active video calls, the change will take effect when a video call is
next in progress.
Regards,
Rob
04-10-2018 07:26 PM
Hi Rob,
Thanks for responding,
I'm just curious because I tried to resize the uiview for the video using uipinchgesture, the video size is changing but it doesn't fully follow the uiview. Sometimes it's bigger than the uiview, sometimes it's smaller.
So I think maybe there's a work around for this problem.
Regards,
Edwin R
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide