Author Message
AlokKulkarni
Joined: Jan 5, 2017
Messages: 30
Offline
We have a customer requirement where the customer wants to have the local video as a fixed view instead of floating.
Based on the the CSDK code, I see that VideoPlaneLocal is always a floating layout.

My question is can I make the local video layout fixed instead of floating.
I tried the following :
private final OpenGLCoordinateMapper mapper;
Rect rect = mapper.convertViewCoordinatesToOpenGLCoordinates(surface);
if (videoPlaneLocal != null) {
videoPlaneLocal.setBounds(rect.left, rect.top, rect.width(), rect.height());
videoPlaneLocal.setPipAbsWidth(rect.width());
}
if (videoPlaneRemote != null) {
videoPlaneRemote.setBounds(rect.left, rect.top, rect.width(), rect.height());
}

However when I touch the local video, the view moves just slightly instead of moving across the entire screen , however I want the position fixed . Can this be acheived ?
Jayant_Wete
Joined: Jul 26, 2018
Messages: 10
Offline
Hi Alok,

Thanks for posting the query.

Though this is not a CSDK query and rather looks to be the UI query. Will setup a mail chain to get your query gets resolved.

DevConnect Forum.
Go to:   
Mobile view