在Xamarin Forms App中使用Icelink和QB(Quick Blox)支持音频/视频

时间:2016-08-31 14:41:04

标签: xmpp xamarin.forms quickblox

我想实现Audio&在Xamarin表单应用程序中使用IceLink和QB(Quick Blox)进行视频通话。

我从github下载了代码 - “https://github.com/QuickBlox/quickblox-dotnet-sdk/tree/frozen-samples

登录和用户列表已成功运行,但是当我选择任何用户后开始视频通话时,它会显示错误:

Not connected to XMPP server

根据我的理解,

  • IceServer未连接或
  • conference.RelayUsername”或
  • conference.RelayPassword”不正确。

现在,我用过 -

private string[] IceServers =
{
"stun.l.google.com:19302",
"turn.quickblox.com",
"turn.quickblox.com:3478?transport=udp",
"turn.quickblox.com:3478?transport=tcp",
"turnsingapor.quickblox.com:3478?transport=udp",
"turnsingapore.quickblox.com:3478?transport=tcp",
"turnireland.quickblox.com:3478?transport=udp",
"turnireland.quickblox.com:3478?transport=tcp"
};

conference.RelayUsername = "test";
conference.RelayPassword = "pa55w0rd!";
conference.ServerPort = 3478;

因此,请帮助我解决此错误,并为音频呼叫提供支持。

这是我的输出:

(13397): No SDP messages were received from the signalling server (the peer could not be reached).
(13397): No responses were received from the STUN/TURN server (the server could not be reached).
(13397): A remote offer/answer was not received!
(13397): No local candidates were created!
(13397): No remote candidates were received!
(13397): Link to peer is DOWN. Link timed out before a connection could be made. No SDP messages were received from the signalling server (the peer could not be reached). No responses were received from the STUN/TURN server (the server could not be reached).
(13397): Assembly Ref addref Xamarin.Forms.Platform.Android[0xf4f172c0] -> System.Xml[0xd61e2a20]: 7
(13397): updateVisibility : ActivityRecord{8fc7e54 token=android.os.BinderProxy@7b7d6dc {com.quickblox.frozensample/md500fc13a2eac828e9753ec70581cd264d.MainActivity}} show : false
(13397): [0xd93de930] worker finishing
[0:] Not connected to XMPP server.

0 个答案:

没有答案