Making a Video call using Hangout api [closed]

筅森魡賤 提交于 2020-06-11 07:51:06

问题


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


回答1:


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);
}




回答2:


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




回答3:


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.



来源:https://stackoverflow.com/questions/41627977/making-a-video-call-using-hangout-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!