如何进行视频通话?

时间:2017-04-14 09:25:53

标签: android video

这成为语音通话:

Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:01012345678")); 
intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE,VideoProfile.STATE_BIDIRECTIONAL); 

如何进行视频通话?

1 个答案:

答案 0 :(得分:0)

Intent videocall= new Intent("com.android.phone.videocall");
videocall.putExtra("videocall", true);
videocall.setData(Uri.parse("tel:" + [your number]));
activity.startActivity(videocall);