Making a Video call using Hangout api [closed]

2020-07-27 04:31发布

Hello i have an android application , in which i want a video chat functionality , i searched a lot on internet but couldnot find any working and simple solution to this , then i found hangout api ,

now i want to add hangout video call feature to my own application but i cannot find where to get started .

All i want is from my own android application i want to initiate any third party application for video call . and get back to my own application when video call is done

how can i acheive this ?

i have my application codes , but sharing them here will make it complex , any guide to get started , i shall be thankfull

3条回答
男人必须洒脱
2楼-- · 2020-07-27 05:01

You may would like to try AppRTC

Getting Room ID

roomConnectionParameters = new RoomConnectionParameters(roomUri.toString(), roomId, loopback);

Setting Fragment Call

callFragment.setArguments(intent.getExtras());
FragmentTransaction ft = getFragmentManager().beginTransaction();
ft.add(R.id.call_fragment_container, callFragment);
ft.add(R.id.hud_fragment_container, hudFragment);
ft.commit();

Connecting to Peer

peerConnectionClient = PeerConnectionClient.getInstance();
    if (loopback) {
      PeerConnectionFactory.Options options = new PeerConnectionFactory.Options();
      options.networkIgnoreMask = 0;
      peerConnectionClient.setPeerConnectionFactoryOptions(options);
}

enter image description here

查看更多
叼着烟拽天下
3楼-- · 2020-07-27 05:03

I believe the Google Hangouts API will no longer be available soon. See here for details: https://developers.google.com/+/hangouts/support-faq

As an alternative, Vidyo.io provides mobile SDK support for Android to build a multiparty video chat app. Check out this howto video that steps through building a video chat app in Android Studio.

Full disclosure: I work for Vidyo.

查看更多
▲ chillily
4楼-- · 2020-07-27 05:20

There is no way to start a video Hangouts call. The closest you can do is open up a conversation with the person via an Intent.

Intent to open conversation

Source to show feature doesn't currently exist

查看更多
登录 后发表回答