Open madhu-kadyala opened 3 years ago
@madhu-kadyala,
There is a delegate protocol, TVIVideoViewDelegate
that can be provided to TVIVideoView
. This delegate will receive callbacks when the dimensions of the track it's rendering changes as well as orientation changes if TVIVideoView.viewShouldRotateContent
is set to NO
. Between these two callbacks, you should have the information that you need to ensure that you UI is being updated accordingly.
Let me know if you need further guidance,
Ryan
@paynerc How can I achieve orientation like how google duo, skype handling. For example, I'm using portrait mode, if the receiver using landscape mode then the remote participant video will automatically rotate in my device. But in twilio remote participant video is not changing in this scenario. I have attached sample screenshot
@ryan-rowland @paynerc Any updates? I'm also facing the same issue. I'm looking forward to a solution.
Hi team, I am using twilio SDK in my app for app to app video call. When remote user using landscape mode, for others using portrait then I have to make sure that remote view should rotate to portrait mode. Is there any call back when remote user changes their dimension ?
SDK Version -> pod 'TwilioVideo', '~> 3.5' FYI -> My app will support only portrait mode. App details : Hullo: Introduce Your Network Link: https://apps.apple.com/us/app/hullo-introduce-your-network/id1503799717