注册

实时语音,实时视频拨通了,音视频通话,显示已经和对方建立连接,但对方收不到

实时语音,实时视频拨通了,音视频通话,显示已经和对方建立连接,但对方收不到,已经注册了callreceiver,请问还需要设置什么呢
已邀请:
原先在welcomeactivity中注册广播,现在改成在application中注册广播,可以接收到通话了,但是出现了一个新的问题
 
挂断电话后,点击位置报错了:
 Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.hyphenate.chat.adapter.EMACallManager com.hyphenate.chat.adapter.EMAChatClient.getCallManager()' on a null object reference
 
这里为空了
IntentFilter callFilter = new IntentFilter(EMClient.getInstance().callManager().getIncomingCallBroadcastAction()); registerReceiver(new CallReceiver(), callFilter);
 
 
 
 

要回复问题请先登录注册