@@ -133,7 +133,7 @@ public void displayIncomingCall(String uuid, String identifier, String callerTyp
133
133
return ;
134
134
}
135
135
136
- Log .d (TAG , "displayIncomingCall identifier: " + identifier + ", callerName: " + callerName );
136
+ Log .d (TAG , "displayIncomingCall identifier: " + identifier + ", callerName: " + callerName + ", callerType: " + callerType + ", callHasVideo: " + callHasVideo );
137
137
138
138
Bundle extras = new Bundle ();
139
139
Uri uri = Uri .fromParts ((callerType .equals ("sip" ) ? PhoneAccount .SCHEME_SIP : PhoneAccount .SCHEME_TEL ), identifier , null );
@@ -169,7 +169,7 @@ public void startCall(String uuid, String identifer, String callerName, String c
169
169
return ;
170
170
}
171
171
172
- Log .d (TAG , "startCall identifer: " + identifer + ", callerName: " + callerName );
172
+ Log .d (TAG , "startCall identifer: " + identifer + ", callerName: " + callerName + ", callerType: " + callerType + ", callHasVideo: " + callHasVideo );
173
173
174
174
Bundle extras = new Bundle ();
175
175
Uri uri = Uri .fromParts ((callerType .equals ("sip" ) ? PhoneAccount .SCHEME_SIP : PhoneAccount .SCHEME_TEL ), identifer , null );
@@ -445,7 +445,8 @@ private void registerPhoneAccount(Context appContext) {
445
445
handle = new PhoneAccountHandle (cName , appName );
446
446
447
447
PhoneAccount .Builder builder = new PhoneAccount .Builder (handle , appName )
448
- .setCapabilities (PhoneAccount .CAPABILITY_CALL_PROVIDER );
448
+ .addSupportedUriScheme (PhoneAccount .SCHEME_SIP )
449
+ .setCapabilities (PhoneAccount .CAPABILITY_CALL_PROVIDER | PhoneAccount .CAPABILITY_VIDEO_CALLING );
449
450
450
451
if (_settings != null && _settings .hasKey ("imageName" )) {
451
452
int identifier = appContext .getResources ().getIdentifier (_settings .getString ("imageName" ), "drawable" , appContext .getPackageName ());
0 commit comments