Hello everyone, I'm working on a wrapper for the linphone library
I have already advanced enough and can run several functions such as registration, making a call, accepting and canceling
However, my goal is video calls, but so far I haven't been very successful with them.
The wrapper contains a function to which you need to pass an object from BA to display the video in the format:
view.findViewById(R.id.????);
or
reference to an object of type: TextureView
How can I pass such R.id.???? parameter to library function from BA?
What object to use to display video? Panel or ????
Is it possible and how to create an object in VBA with the TextureView type? How to pass it to the library function?
Any help.
Sorry, English is not my native language
I have already advanced enough and can run several functions such as registration, making a call, accepting and canceling
However, my goal is video calls, but so far I haven't been very successful with them.
The wrapper contains a function to which you need to pass an object from BA to display the video in the format:
view.findViewById(R.id.????);
or
reference to an object of type: TextureView
How can I pass such R.id.???? parameter to library function from BA?
What object to use to display video? Panel or ????
Is it possible and how to create an object in VBA with the TextureView type? How to pass it to the library function?
Any help.
Sorry, English is not my native language
Function in library:
public void setVideoWindow(??? ????) {
if(mLinphoneCore == null) {
mLinphoneCore = LinphoneManager.getLc();
}
View view;
TextureView mVideoView = view.findViewById(????????);
mLinphoneCore.setVideoWindow(mVideoView);
}