make sure VideoSourceWrapper is stored in property

This commit is contained in:
Daniel Gultsch 2022-11-19 14:19:07 +01:00
parent 27d8da2ab4
commit 59ea66ca78

View file

@ -310,6 +310,7 @@ public class WebRTCWrapper {
videoSourceWrapper.initialize(
requirePeerConnectionFactory(), requireContext(), eglBase.getEglBaseContext());
videoSourceWrapper.startCapture();
this.videoSourceWrapper = videoSourceWrapper;
return videoSourceWrapper;
}