Video is initially disabled.

Fixes #8867
This commit is contained in:
Alan Evans 2019-06-11 13:24:38 -04:00 committed by Greyson Parrelli
parent f5cbf64ccf
commit ae784db80d

View file

@ -735,7 +735,7 @@ public class WebRtcCallService extends Service implements InjectableType,
DatabaseFactory.getSmsDatabase(this).insertReceivedCall(recipient.getAddress());
this.peerConnection.setAudioEnabled(true);
this.peerConnection.setVideoEnabled(true);
this.peerConnection.setVideoEnabled(false);
this.dataChannel.send(new DataChannel.Buffer(ByteBuffer.wrap(Data.newBuilder().setConnected(Connected.newBuilder().setId(this.callId)).build().toByteArray()), false));
intent.putExtra(EXTRA_CALL_ID, callId);