make sure VideoSourceWrapper is stored in property
This commit is contained in:
parent
27d8da2ab4
commit
59ea66ca78
|
@ -310,6 +310,7 @@ public class WebRTCWrapper {
|
||||||
videoSourceWrapper.initialize(
|
videoSourceWrapper.initialize(
|
||||||
requirePeerConnectionFactory(), requireContext(), eglBase.getEglBaseContext());
|
requirePeerConnectionFactory(), requireContext(), eglBase.getEglBaseContext());
|
||||||
videoSourceWrapper.startCapture();
|
videoSourceWrapper.startCapture();
|
||||||
|
this.videoSourceWrapper = videoSourceWrapper;
|
||||||
return videoSourceWrapper;
|
return videoSourceWrapper;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue