lukeweber / webrtc-jingle-client

Webrtc audio + jingle protocol brought to IOS and Android.
https://groups.google.com/forum/?fromgroups#!forum/webrtc-jingle
BSD 3-Clause "New" or "Revised" License
334 stars 137 forks source link

iOS Cannot Login #87

Closed vmatsnev closed 11 years ago

vmatsnev commented 11 years ago

I have downloaded and build project successfully. But on both simulator and device I can't pass through Login.

Here is what I get in console:

logging ininitingVoiceClient::VoiceClient - new ClientSignalingThread client_signalingthread@(0x41700005) ClientSignalingThread::ClientSignalingThread VoiceClient::Login LOGT [stun=(stun.l.google.com:19302),turn=()] ClientSignalingThread::Login ClientSignalingThread::OnMessage: MSG_LOGIN ClientSignalingThread::LoginS TXmppPump::TXmppPump TXmppPump::DoLogin TXmppPump::DoLogin - logging on ClientSignalingThread::OnMessage: MSG_XMPP_STATE Resolving addr in PhysicalSocket::Connect OpenSSLAdapter::OnConnectEvent ClientSignalingThread::OnMessage: MSG_XMPP_STATE OpenSSLAdapter::OnCloseEvent(0) ClientSignalingThread::OnXmppSocketClose: with state=0 ClientSignalingThread::OnMessage: MSG_XMPP_SOCKET_CLOSE

lukeweber commented 11 years ago

In libjingle.gyp comment out IOS_XMPP_FRAMEWORK. It's part of the branch ios-xmppframework that hasn't yet made it to trunk because it still has some small bugs.

Hopefully hai can finish it up soon :)

Make sure you're building the voiceclient target as well.

For device target add -Dtarget_arch=arm to the build command, have to investigate why it doesn't just work, but haven't had time.

Also another error:

MainStoryboard.storyboard was not included in bundle here is fix http://stackoverflow.com/questions/9113329/xcode-4-2-mainstoryboard-not-found

On Sat, Apr 6, 2013 at 3:17 PM, vmatsnev notifications@github.com wrote:

I have downloaded and build project successfully. But on both simulator and device I can't pass through Login.

Here is what I get in console:

logging ininitingVoiceClient::VoiceClient - new ClientSignalingThread client_signalingthread@(0x41700005) ClientSignalingThread::ClientSignalingThread VoiceClient::Login LOGT [stun=(stun.l.google.com:19302),turn=()] ClientSignalingThread::Login ClientSignalingThread::OnMessage: MSG_LOGIN ClientSignalingThread::LoginS TXmppPump::TXmppPump TXmppPump::DoLogin TXmppPump::DoLogin - logging on ClientSignalingThread::OnMessage: MSG_XMPP_STATE Resolving addr in PhysicalSocket::Connect OpenSSLAdapter::OnConnectEvent ClientSignalingThread::OnMessage: MSG_XMPP_STATE OpenSSLAdapter::OnCloseEvent(0) ClientSignalingThread::OnXmppSocketClose: with state=0 ClientSignalingThread::OnMessage: MSG_XMPP_SOCKET_CLOSE

— Reply to this email directly or view it on GitHubhttps://github.com/lukeweber/webrtc-jingle-client/issues/87 .

vmatsnev commented 11 years ago

"In libjingle.gyp comment out IOS_XMPP_FRAMEWORK. It's part of the branch ios-xmppframework that hasn't yet made it to trunk because it still has some small bugs."

This step helped. Thanks a lot).