|
@@ -330,9 +330,6 @@ public class CallController extends BaseController {
|
|
|
PeerConnectionFactory.Options options = new PeerConnectionFactory.Options();
|
|
|
peerConnectionFactory = PeerConnectionFactory.builder().createPeerConnectionFactory();
|
|
|
|
|
|
- peerConnectionFactory.setVideoHwAccelerationOptions(rootEglBase.getEglBaseContext(),
|
|
|
- rootEglBase.getEglBaseContext());
|
|
|
-
|
|
|
|
|
|
audioConstraints = new MediaConstraints();
|
|
|
videoConstraints = new MediaConstraints();
|
|
@@ -533,7 +530,7 @@ public class CallController extends BaseController {
|
|
|
|
|
|
|
|
|
if (videoCapturer != null) {
|
|
|
- videoSource = peerConnectionFactory.createVideoSource(videoCapturer);
|
|
|
+ videoSource = peerConnectionFactory.createVideoSource(false);
|
|
|
localVideoTrack = peerConnectionFactory.createVideoTrack("NCv0", videoSource);
|
|
|
localMediaStream.addTrack(localVideoTrack);
|
|
|
localVideoTrack.setEnabled(false);
|