我需要将 JitsiMeetView 添加到视频应用程序的自定义布局中。可能吗 ?
这里我使用了 - implementation ('org.jitsi.react:jitsi-meet-sdk:2.2.2') { transitive = true }
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
videoView = (RelativeLayout) findViewById(R.id.videoView);
view = new JitsiMeetView(MainActivity.this);
JitsiMeetConferenceOptions options = new JitsiMeetConferenceOptions.Builder()
.setRoom("https://meet.jit.si/456")
.setAudioMuted(false)
.setVideoMuted(false)
.setAudioOnly(false)
.setWelcomePageEnabled(false)
.build();
view.join(options);
videoView.addView(view);
}