spoiledsport / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

problem with voice call on android platform(libjingle + linphone) #405

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
voice codecs i am using:
///////////////////////////////////////////////////////////////////////////
// Implementation of LinphoneMediaEngine.
///////////////////////////////////////////////////////////////////////////
LinphoneMediaEngine::LinphoneMediaEngine(const std::string& ringWav,  const 
std::string& callWav) : ring_wav_(ringWav), call_wav_(callWav) {
//  set_voice_codecs(RequiredAudioCodecs());
    voice_codecs_.push_back(AudioCodec(111, payload_type_speex_nb.mime_type, payload_type_speex_nb.clock_rate, 0, 1, 7));
      voice_codecs_.push_back(AudioCodec(110, payload_type_speex_wb.mime_type, payload_type_speex_wb.clock_rate, 0, 1, 8));

      voice_codecs_.push_back(AudioCodec(102, payload_type_ilbc.mime_type, payload_type_ilbc.clock_rate, 0, 1, 4));
      voice_codecs_.push_back(AudioCodec(0, payload_type_pcmu8000.mime_type, payload_type_pcmu8000.clock_rate, 0, 1, 2));
        voice_codecs_.push_back(AudioCodec(101, payload_type_telephone_event.mime_type, payload_type_telephone_event.clock_rate, 0, 1, 1));

}

this is a snippet of logcat:

10-26 14:45:35.761: I/libjingle(6312): RECV <<<<<<<<<<<<<<<< : Fri Oct 26 
14:45:35 2012
10-26 14:45:35.761: I/libjingle(6312):     
10-26 14:45:35.761: I/libjingle(6312):    <iq 
to="zhenguo.hacker@gmail.com/call1EF84C80" type="set" id="8" 
from="zhenguo.cp@gmail.com/callC4D7D493">
10-26 14:45:35.761: I/libjingle(6312):      <jingle action="session-initiate" 
sid="3386803142" initiator="zhenguo.cp@gmail.com/callC4D7D493" 
xmlns="urn:xmpp:jingle:1">
10-26 14:45:35.761: I/libjingle(6312):        <content name="audio" 
creator="initiator">
10-26 14:45:35.765: I/libjingle(6312):          <description media="audio" 
ssrc="1543409473" xmlns="urn:xmpp:jingle:apps:rtp:1">
10-26 14:45:35.765: I/libjingle(6312):            <payload-type id="110" 
name="speex" clockrate="16000"/>
10-26 14:45:35.769: I/libjingle(6312):            <payload-type id="111" 
name="speex" clockrate="8000"/>
10-26 14:45:35.769: I/libjingle(6312):            <payload-type id="102" 
name="iLBC" clockrate="8000"/>
10-26 14:45:35.769: I/libjingle(6312):            <payload-type id="0" 
name="PCMU" clockrate="8000"/>
10-26 14:45:35.773: I/libjingle(6312):            <payload-type id="101" 
name="telephone-event" clockrate="8000"/>
10-26 14:45:35.773: I/libjingle(6312):            <encryption>
10-26 14:45:35.773: I/libjingle(6312):              <crypto tag="0" 
crypto-suite="AES_CM_128_HMAC_SHA1_32" 
key-params="inline:9Zswas3HzHyvpYkrGSDihB/YBaCdFX3ECBJXvOtJ"/>
10-26 14:45:35.777: I/libjingle(6312): RECV <<<<<<<<<<<<<<<< : Fri Oct 26 
14:45:35 2012
10-26 14:45:35.781: I/libjingle(6312):    <crypto tag="1" 
crypto-suite="AES_CM_128_HMAC_SHA1_80" 
key-params="inline:+uisMh3k7LOcdKh4VHCK4LnI6Vl+Gp8AtqUjDrGs"/>
10-26 14:45:35.781: I/libjingle(6312):  </encryption>
10-26 14:45:35.781: I/libjingle(6312):  <rtcp-mux/>
10-26 14:45:35.781: I/libjingle(6312):  </description>
10-26 14:45:35.785: I/libjingle(6312):  <transport 
xmlns="http://www.google.com/transport/p2p"/>
10-26 14:45:35.785: I/libjingle(6312):  </content>
10-26 14:45:35.785: I/libjingle(6312):  </jingle>
10-26 14:45:35.785: I/libjingle(6312):  <session type="initiate" 
id="3386803142" initiator="zhenguo.cp@gmail.com/callC4D7D493" 
xmlns="http://www.google.com/session">
10-26 14:45:35.789: I/libjingle(6312):  <description 
xmlns="http://www.google.com/session/phone">
10-26 14:45:35.789: I/libjingle(6312):  <payload-type id="110" name="speex" 
clockrate="16000"/>
10-26 14:45:35.792: I/libjingle(6312):  <payload-type id="111" name="speex" 
clockrate="8000"/>
10-26 14:45:35.792: I/libjingle(6312):  <payload-type id="102" name="iLBC" 
clockrate="8000"/>
10-26 14:45:35.792: I/libjingle(6312):  <payload-type id="0" name="PCMU" 
clockrate="8000"/>
10-26 14:45:35.792: I/libjingle(6312):  <payload-type id="101" 
name="telephone-event" clockrate="8000"/>
10-26 14:45:35.796: I/libjingle(6312):  <src-id>
10-26 14:45:35.796: I/libjingle(6312):  1543409473
10-26 14:45:35.796: I/libjingle(6312):  </src-id>
10-26 14:45:35.796: I/libjingle(6312):  <rtp:encryption 
xmlns:rtp="urn:xmpp:jingle:apps:rtp:1">
10-26 14:45:35.800: I/libjingle(6312): RECV <<<<<<<<<<<<<<<< : Fri Oct 26 
14:45:35 2012
10-26 14:45:35.800: I/libjingle(6312):    <rtp:crypto tag="0" 
crypto-suite="AES_CM_128_HMAC_SHA1_32" 
key-params="inline:9Zswas3HzHyvpYkrGSDihB/YBaCdFX3ECBJXvOtJ"/>
10-26 14:45:35.808: I/libjingle(6312):    <rtp:crypto tag="1" 
crypto-suite="AES_CM_128_HMAC_SHA1_80" 
key-params="inline:+uisMh3k7LOcdKh4VHCK4LnI6Vl+Gp8AtqUjDrGs"/>
10-26 14:45:35.808: I/libjingle(6312):    <usage/>
10-26 14:45:35.808: I/libjingle(6312):  </rtp:encryption>
10-26 14:45:35.808: I/libjingle(6312):  </description>
10-26 14:45:35.812: I/libjingle(6312):  </session>
10-26 14:45:35.812: I/libjingle(6312):  </iq>
10-26 14:45:35.816: W/libjingle(6312): Warning(sessionmanager.cc:185): 
CreateSession()
10-26 14:45:35.820: I/libjingle(6312): Session:3386803142 Old state:STATE_INIT 
New state:STATE_RECEIVEDINITIATE Type:urn:xmpp:jingle:apps:rtp:1 
Transport:http://www.google.com/transport/p2p
10-26 14:45:35.820: I/libjingle(6312): Video is not supported in answer
10-26 14:45:35.824: I/libjingle(6312): Data is not supported in answer
10-26 14:45:35.824: W/libjingle(6312): Warning(physicalsocketserver.cc:1203): 
virtual talk_base::AsyncSocket* 
talk_base::PhysicalSocketServer::CreateAsyncSocket(int)
10-26 14:45:35.824: I/libjingle(6312): Created channel for audio
10-26 14:45:35.828: W/libjingle(6312): Warning(channel.cc:1258): virtual void 
cricket::VoiceChannel::OnMessage(talk_base::Message*)
10-26 14:45:35.828: I/libjingle(6312): Setting remote voice description
10-26 14:45:35.828: W/libjingle(6312): Warning(linphonemediaengine.cc:200): 
virtual bool cricket::LinphoneVoiceChannel::SetSendCodecs(const 
std::vector<cricket::AudioCodec>&)
10-26 14:45:35.828: W/libjingle(6312): Warning(linphonemediaengine.cc:209): 
speex:110
10-26 14:45:35.828: W/libjingle(6312): Warning(linphonemediaengine.cc:221): 
rtp_profile_set_payload speex
10-26 14:45:35.828: I/libjingle(6312): Using speex/16000
10-26 14:45:35.832: I/mediastreamer(6312): Hardware sample rate is 44100
10-26 14:45:35.832: I/mediastreamer(6312): speex_lib_ctl init with neon ? 0
10-26 14:45:35.832: I/mediastreamer(6312): speex_lib_ctl init with neon ? 1
10-26 14:45:35.832: I/mediastreamer(6312): Payload's bitrate is 28000
10-26 14:45:35.832: I/mediastreamer(6312): Setting audio encoder network 
bitrate to 28000
10-26 14:45:35.832: I/mediastreamer(6312): configuring 
MSRtpRecv-->MSAndSoundWrite from rate[16000] to rate [44100]
10-26 14:45:35.832: I/mediastreamer(6312): ms_filter_link: 
MSAndSoundRead:0x354710,0-->MSVolume:0x355cc0,0
10-26 14:45:35.832: I/mediastreamer(6312): ms_filter_link: 
MSVolume:0x355cc0,0-->MSSpeexEnc:0x355990,0
10-26 14:45:35.832: I/mediastreamer(6312): ms_filter_link: 
MSSpeexEnc:0x355990,0-->MSRtpSend:0x350a30,0
10-26 14:45:35.832: I/mediastreamer(6312): ms_filter_link: 
MSRtpRecv:0x3544f0,0-->MSSpeexDec:0x355b60,0
10-26 14:45:35.832: I/mediastreamer(6312): ms_filter_link: 
MSSpeexDec:0x355b60,0-->MSDtmfGen:0x3545b0,0
10-26 14:45:35.832: I/mediastreamer(6312): ms_filter_link: 
MSDtmfGen:0x3545b0,0-->MSVolume:0x355f00,0
10-26 14:45:35.835: I/mediastreamer(6312): ms_filter_link: 
MSVolume:0x355f00,0-->MSEqualizer:0x354408,0
10-26 14:45:35.835: I/mediastreamer(6312): ms_filter_link: 
MSEqualizer:0x354408,0-->MSResample:0x3560e0,0
10-26 14:45:35.835: I/mediastreamer(6312): ms_filter_link: 
MSResample:0x3560e0,0-->MSAndSoundWrite:0x354878,0
10-26 14:45:35.835: I/mediastreamer(6312): Configuring recorder with [16] bits  
rate [16000] nchanels [1] buff size [4096], chunk size [512]
10-26 14:45:35.835: I/mediastreamer(6312): Priority used: 99
10-26 14:45:35.835: I/mediastreamer(6312): Audio MSTicker priority increased to 
maximum.
10-26 14:45:35.941: I/mediastreamer(6312): ms_ticker_set_time_func: ticker 
updated.
10-26 14:45:35.941: I/mediastreamer(6312): Setting maxbitrate=12000 to speex 
encoder.
10-26 14:45:35.941: I/mediastreamer(6312): Using bitrate 9800 for speex 
encoder, ip bitrate is 25600
10-26 14:45:35.945: I/mediastreamer(6312): Configuring player with [16] bits  
rate [44100] nchanels [1] buff size [8192] chunk size [1764]
10-26 14:45:35.945: W/libjingle(6312): Warning(linphonemediaengine.cc:242): 
audio_stream: 0x00350348
10-26 14:45:35.945: W/libjingle(6312): Warning(linphonemediaengine.cc:209): 
speex:111
10-26 14:45:35.949: W/libjingle(6312): Warning(linphonemediaengine.cc:224): 
rtp_profile_set_payload speex
10-26 14:45:35.949: W/libjingle(6312): Warning(linphonemediaengine.cc:209): 
iLBC:102
10-26 14:45:35.949: W/libjingle(6312): Warning(linphonemediaengine.cc:209): 
PCMU:0
10-26 14:45:35.949: W/libjingle(6312): Warning(linphonemediaengine.cc:230): 
rtp_profile_set_payload 0
10-26 14:45:35.949: W/libjingle(6312): Warning(linphonemediaengine.cc:209): 
telephone-event:101
10-26 14:45:35.949: W/libjingle(6312): Warning(channel.cc:1189): 
SetBaseRemoteContent_w() start
10-26 14:45:35.949: I/libjingle(6312): Add remote ssrc: 1543409473
10-26 14:45:35.949: W/libjingle(6312): Warning(channel.cc:1191): 
SetBaseRemoteContent_w() end
10-26 14:45:35.949: W/libjingle(6312): Warning(channel.cc:1121): enabled(): 0
10-26 14:45:35.949: W/libjingle(6312): Warning(channel.cc:1122): 
has_remote_content(): 1
10-26 14:45:35.953: W/libjingle(6312): Warning(channel.cc:1123): 
was_ever_writable(): 0
10-26 14:45:35.953: I/libjingle(6312): Changing voice state, recv=0 send=0
10-26 14:45:35.953: V/log(6312): Incoming call from 
'zhenguo.cp@gmail.com/callC4D7D493'
10-26 14:45:35.953: I/libjingle(6312): Video is not supported in answer
10-26 14:45:35.957: I/libjingle(6312): Data is not supported in answer
10-26 14:45:35.957: I/libjingle(6312): Contents are not grouped together cannot 
be muxed
10-26 14:45:35.957: I/libjingle(6312): Session:3386803142 Old 
state:STATE_RECEIVEDINITIATE New state:STATE_SENTACCEPT 
Type:urn:xmpp:jingle:apps:rtp:1 Transport:http://www.google.com/transport/p2p
10-26 14:45:35.957: W/libjingle(6312): Warning(channel.cc:1258): virtual void 
cricket::VoiceChannel::OnMessage(talk_base::Message*)
10-26 14:45:35.957: I/libjingle(6312): Setting local voice description
10-26 14:45:35.957: I/libjingle(6312): Add send ssrc: 1481565593
10-26 14:45:35.957: V/log(6312): srtp_init() is calling
10-26 14:45:36.003: I/libjingle(6312): SRTP activated with negotiated 
parameters: send cipher_suite AES_CM_128_HMAC_SHA1_32 recv cipher_suite 
AES_CM_128_HMAC_SHA1_32
10-26 14:45:36.003: W/libjingle(6312): Warning(channel.cc:1159): SetRecvCodecs()
10-26 14:45:36.003: W/libjingle(6312): Warning(channel.cc:1121): enabled(): 0
10-26 14:45:36.003: W/libjingle(6312): Warning(channel.cc:1122): 
has_remote_content(): 1
10-26 14:45:36.003: W/libjingle(6312): Warning(channel.cc:1123): 
was_ever_writable(): 0
10-26 14:45:36.003: I/libjingle(6312): Changing voice state, recv=0 send=0
10-26 14:45:36.003: W/libjingle(6312): Warning(channel.cc:1258): virtual void 
cricket::VoiceChannel::OnMessage(talk_base::Message*)
10-26 14:45:36.003: I/libjingle(6312): Channel enabled
10-26 14:45:36.003: W/libjingle(6312): Warning(channel.cc:1121): enabled(): 1
10-26 14:45:36.003: W/libjingle(6312): Warning(channel.cc:1122): 
has_remote_content(): 1
10-26 14:45:36.003: W/libjingle(6312): Warning(channel.cc:1123): 
was_ever_writable(): 0
10-26 14:45:36.003: I/libjingle(6312): Changing voice state, recv=1 send=0
10-26 14:45:36.007: I/libjingle(6312): SEND >>>>>>>>>>>>>>>> : Fri Oct 26 
14:45:36 2012
10-26 14:45:36.007: I/libjingle(6312):    <iq 
to="zhenguo.cp@gmail.com/callC4D7D493" type="set" id="8">
10-26 14:45:36.007: I/libjingle(6312):      <jingle xmlns="urn:xmpp:jingle:1" 
action="session-accept" sid="3386803142">
10-26 14:45:36.007: I/libjingle(6312):        <content name="audio" 
creator="initiator">
10-26 14:45:36.007: I/libjingle(6312):          <description 
xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio" ssrc="1481565593">
10-26 14:45:36.007: I/libjingle(6312):            <payload-type id="110" 
name="speex" clockrate="16000"/>
10-26 14:45:36.007: I/libjingle(6312):            <payload-type id="111" 
name="speex" clockrate="8000"/>
10-26 14:45:36.007: I/libjingle(6312):            <payload-type id="102" 
name="iLBC" clockrate="8000"/>
10-26 14:45:36.007: I/libjingle(6312):            <payload-type id="0" 
name="PCMU" clockrate="8000"/>
10-26 14:45:36.007: I/libjingle(6312):            <payload-type id="101" 
name="telephone-event" clockrate="8000"/>
10-26 14:45:36.007: I/libjingle(6312):            <encryption>
10-26 14:45:36.007: I/libjingle(6312):              <crypto tag="0" 
crypto-suite="AES_CM_128_HMAC_SHA1_32" 
key-params="inline:NhLPpXKtAC8/TtPJnZQ3JxNxQA2viiJP64vloghS"/>
10-26 14:45:36.007: I/libjingle(6312):            </encryption>
10-26 14:45:36.007: I/libjingle(6312):            <rtcp-mux/>
10-26 14:45:36.007: I/libjingle(6312):          </description>
10-26 14:45:36.007: I/libjingle(6312):          <transport 
xmlns="http://www.google.com/transport/p2p"/>
10-26 14:45:36.007: I/libjingle(6312):        </content>
10-26 14:45:36.007: I/libjingle(6312):      </jingle>
10-26 14:45:36.007: I/libjingle(6312):    </iq>
10-26 14:45:36.011: I/libjingle(6312): SEND >>>>>>>>>>>>>>>> : Fri Oct 26 
14:45:36 2012
10-26 14:45:36.011: I/libjingle(6312):    <iq 
to="zhenguo.cp@gmail.com/callC4D7D493" id="8" type="result"/>
10-26 14:45:36.011: I/libjingle(6312): Session:3386803142 Old 
state:STATE_SENTACCEPT New state:STATE_INPROGRESS 
Type:urn:xmpp:jingle:apps:rtp:1 Transport:http://www.google.com/transport/p2p
10-26 14:45:36.011: V/log(6312): call in progress
10-26 14:45:36.011: I/libjingle(6312): Jingle:Net[eth0:128.0.0.0/1]: Allocation 
Phase=Udp (Step=0)
10-26 14:45:36.011: I/libjingle(6312): 
Jingle:Port[:0:local:Net[eth0:128.0.0.0/1]]: Port created
10-26 14:45:36.011: W/libjingle(6312): Warning(physicalsocketserver.cc:1203): 
virtual talk_base::AsyncSocket* 
talk_base::PhysicalSocketServer::CreateAsyncSocket(int)
10-26 14:45:36.011: I/libjingle(6312): 
Jingle:Port[rtp:0:local:Net[eth0:128.0.0.0/1]]: Added port to allocator
10-26 14:45:36.011: V/libjingle(6312): Sorting available connections:
10-26 14:45:36.015: I/libjingle(6312): 
Jingle:Port[:0:stun:Net[eth0:128.0.0.0/1]]: Port created
10-26 14:45:36.015: W/libjingle(6312): Warning(physicalsocketserver.cc:1203): 
virtual talk_base::AsyncSocket* 
talk_base::PhysicalSocketServer::CreateAsyncSocket(int)
10-26 14:45:36.015: I/libjingle(6312): 
Jingle:Port[rtp:0:stun:Net[eth0:128.0.0.0/1]]: Added port to allocator
10-26 14:45:36.015: I/libjingle(6312): SEND >>>>>>>>>>>>>>>> : Fri Oct 26 
14:45:36 2012
10-26 14:45:36.015: I/libjingle(6312):    <iq 
to="zhenguo.cp@gmail.com/callC4D7D493" type="set" id="10">
10-26 14:45:36.015: I/libjingle(6312):      <jingle xmlns="urn:xmpp:jingle:1" 
action="transport-info" sid="3386803142">
10-26 14:45:36.015: I/libjingle(6312):        <content name="audio" 
creator="initiator">
10-26 14:45:36.015: I/libjingle(6312):          <transport 
xmlns="http://www.google.com/transport/p2p">
10-26 14:45:36.015: I/libjingle(6312):            <candidate name="rtp" 
address="172.10.10.109" port="56786" preference="1" username="8aNCrIYjDOcVw6/1" 
protocol="udp" generation="0" password="trzEHJT6kzNdF5GRIM6yxy" type="local" 
network="eth0"/>
10-26 14:45:36.015: I/libjingle(6312):          </transport>
10-26 14:45:36.015: I/libjingle(6312):        </content>
10-26 14:45:36.015: I/libjingle(6312):      </jingle>
10-26 14:45:36.015: I/libjingle(6312):    </iq>
10-26 14:45:36.136: V/libjingle(6312): Sorting available connections:
10-26 14:45:36.136: I/libjingle(6312): SEND >>>>>>>>>>>>>>>> : Fri Oct 26 
14:45:36 2012
10-26 14:45:36.136: I/libjingle(6312):    <iq 
to="zhenguo.cp@gmail.com/callC4D7D493" type="set" id="11">
10-26 14:45:36.136: I/libjingle(6312):      <jingle xmlns="urn:xmpp:jingle:1" 
action="transport-info" sid="3386803142">
10-26 14:45:36.136: I/libjingle(6312):        <content name="audio" 
creator="initiator">
10-26 14:45:36.136: I/libjingle(6312):          <transport 
xmlns="http://www.google.com/transport/p2p">
10-26 14:45:36.136: I/libjingle(6312):            <candidate name="rtp" 
address="218.241.171.210" port="49361" preference="0.9" 
username="jgp+daHAHPP5sw4R" protocol="udp" generation="0" 
password="jKzNzTo77DDvRlvzqth76M" type="stun" network="eth0"/>
10-26 14:45:36.136: I/libjingle(6312):          </transport>
10-26 14:45:36.136: I/libjingle(6312):        </content>
10-26 14:45:36.136: I/libjingle(6312):      </jingle>
10-26 14:45:36.136: I/libjingle(6312):    </iq>
10-26 14:45:36.613: I/libjingle(6312): 
Jingle:Port[rtp:0:local:Net[eth0:128.0.0.0/1]]: Sending STUN binding error: 
reason=STALE CREDENTIALS to 172.10.10.115:42079
10-26 14:45:36.628: I/libjingle(6312): 
Jingle:Port[rtp:0:local:Net[eth0:128.0.0.0/1]]: Sending STUN binding error: 
reason=STALE CREDENTIALS to 172.16.95.24:37536
10-26 14:45:36.632: I/libjingle(6312): 
Jingle:Port[rtp:0:local:Net[eth0:128.0.0.0/1]]: Sending STUN binding error: 
reason=STALE CREDENTIALS to 172.10.10.115:55761
10-26 14:45:36.687: I/libjingle(6312): RECV <<<<<<<<<<<<<<<< : Fri Oct 26 
14:45:36 2012
10-26 14:45:36.687: I/libjingle(6312):    <iq 
to="zhenguo.hacker@gmail.com/call1EF84C80" type="set" id="9" 
from="zhenguo.cp@gmail.com/callC4D7D493">
10-26 14:45:36.691: I/libjingle(6312):      <jingle action="transport-info" 
sid="3386803142" xmlns="urn:xmpp:jingle:1">
10-26 14:45:36.691: I/libjingle(6312):        <content name="audio" 
creator="initiator">
10-26 14:45:36.691: I/libjingle(6312):          <transport 
xmlns="http://www.google.com/transport/p2p">
10-26 14:45:36.691: I/libjingle(6312):            <candidate name="rtp" 
address="172.16.95.24" port="37536" preference="1" username="UoEXcDdTTeN+dbAo" 
protocol="udp" generation="0" password="dkGpWAfbQl2G+OrcdMVnfh" type="local" 
network="rmnet0"/>
10-26 14:45:36.695: I/libjingle(6312):            <candidate name="rtp" 
address="172.10.10.115" port="42079" preference="1" username="or7ugeWDuJTXRFz4" 
protocol="udp" generation="0" password="szpb0IhONoAuw3uaQrSn9m" type="local" 
network="wlan0"/>
10-26 14:45:36.703: I/libjingle(6312):            <candidate name="rtp" 
address="218.241.171.210" port="55761" preference="0.9" 
username="cWIEJDoviec7GfSv" protocol="udp" generation="0" 
password="q2IgeBxFSCaGYQNWrN2DxX" type="stun" network="wlan0"/>
10-26 14:45:36.714: I/libjingle(6312):          </transport>
10-26 14:45:36.714: I/libjingle(6312):        </content>
10-26 14:45:36.718: I/libjingle(6312):      </jingle>
10-26 14:45:36.718: I/libjingle(6312):    </iq>
10-26 14:45:36.734: I/libjingle(6312): 
Jingle:Conn[rtp:0:stun:udp:218.241.171.210:49361->rtp:0:local:udp:172.16.95.24:3
7536|C-w|-]: Connection created
10-26 14:45:36.734: I/libjingle(6312): Jingle:Channel[rtp|__]: Created 
connection with origin=2, (1 total)
10-26 14:45:36.738: I/libjingle(6312): 
Jingle:Conn[rtp:0:local:udp:172.10.10.109:56786->rtp:0:local:udp:172.16.95.24:37
536|C-w|-]: Connection created
10-26 14:45:36.738: I/libjingle(6312): Jingle:Channel[rtp|__]: Created 
connection with origin=2, (2 total)
10-26 14:45:36.742: V/libjingle(6312): 
Jingle:Conn[rtp:0:stun:udp:218.241.171.210:49361->rtp:0:local:udp:172.16.95.24:3
7536|C-w|-]: UpdateState(): pings_since_last_response_=, rtt=3000, now=25832579
10-26 14:45:36.753: I/libjingle(6312): SEND >>>>>>>>>>>>>>>> : Fri Oct 26 
14:45:36 2012
10-26 14:45:36.753: I/libjingle(6312):    <iq 
to="zhenguo.cp@gmail.com/callC4D7D493" id="9" type="result"/>
10-26 14:45:36.753: V/libjingle(6312): 
Jingle:Conn[rtp:0:local:udp:172.10.10.109:56786->rtp:0:local:udp:172.16.95.24:37
536|C-w|-]: UpdateState(): pings_since_last_response_=, rtt=3000, now=25832579
10-26 14:45:36.753: V/libjingle(6312): Sorting available connections:
10-26 14:45:36.753: V/libjingle(6312): 
Conn[rtp:0:local:udp:172.10.10.109:56786->rtp:0:local:udp:172.16.95.24:37536|C-w
|-]
10-26 14:45:36.757: I/libjingle(6312): RECV <<<<<<<<<<<<<<<< : Fri Oct 26 
14:45:36 2012
10-26 14:45:36.757: I/libjingle(6312):    <iq 
to="zhenguo.hacker@gmail.com/call1EF84C80" id="8" type="result" 
from="zhenguo.cp@gmail.com/callC4D7D493"/>
10-26 14:45:36.757: I/libjingle(6312): RECV <<<<<<<<<<<<<<<< : Fri Oct 26 
14:45:36 2012
10-26 14:45:36.757: I/libjingle(6312):    <iq 
to="zhenguo.hacker@gmail.com/call1EF84C80" id="10" type="result" 
from="zhenguo.cp@gmail.com/callC4D7D493"/>
10-26 14:45:36.757: V/libjingle(6312): 
Conn[rtp:0:stun:udp:218.241.171.210:49361->rtp:0:local:udp:172.16.95.24:37536|C-
w|-]
10-26 14:45:36.757: I/libjingle(6312): Jingle:Channel[rtp|__]: New best 
connection: 
Conn[rtp:0:local:udp:172.10.10.109:56786->rtp:0:local:udp:172.16.95.24:37536|C-w
|-]
10-26 14:45:36.757: I/libjingle(6312): 
Jingle:Conn[rtp:0:stun:udp:218.241.171.210:49361->rtp:0:local:udp:172.10.10.115:
42079|C-w|-]: Connection created
10-26 14:45:36.757: I/libjingle(6312): Jingle:Channel[rtp|__]: Created 
connection with origin=2, (3 total)
10-26 14:45:36.757: I/libjingle(6312): 
Jingle:Conn[rtp:0:local:udp:172.10.10.109:56786->rtp:0:local:udp:172.10.10.115:4
2079|C-w|-]: Connection created
10-26 14:45:36.757: I/libjingle(6312): Jingle:Channel[rtp|__]: Created 
connection with origin=2, (4 total)
10-26 14:45:36.761: V/libjingle(6312): 
Jingle:Conn[rtp:0:local:udp:172.10.10.109:56786->rtp:0:local:udp:172.16.95.24:37
536|C-w|-]: UpdateState(): pings_since_last_response_=, rtt=3000, now=25832599
10-26 14:45:36.761: V/libjingle(6312): 
Jingle:Conn[rtp:0:stun:udp:218.241.171.210:49361->rtp:0:local:udp:172.16.95.24:3
7536|C-w|-]: UpdateState(): pings_since_last_response_=, rtt=3000, now=25832599
10-26 14:45:36.761: V/libjingle(6312): 
Jingle:Conn[rtp:0:stun:udp:218.241.171.210:49361->rtp:0:local:udp:172.10.10.115:
42079|C-w|-]: UpdateState(): pings_since_last_response_=, rtt=3000, now=25832599
10-26 14:45:36.765: V/libjingle(6312): 
Jingle:Conn[rtp:0:local:udp:172.10.10.109:56786->rtp:0:local:udp:172.10.10.115:4
2079|C-w|-]: UpdateState(): pings_since_last_response_=, rtt=3000, now=25832599
10-26 14:45:36.765: V/libjingle(6312): Sorting available connections:
10-26 14:45:36.765: V/libjingle(6312): 
Conn[rtp:0:local:udp:172.10.10.109:56786->rtp:0:local:udp:172.16.95.24:37536|C-w
|-]
10-26 14:45:36.765: V/libjingle(6312): 
Conn[rtp:0:local:udp:172.10.10.109:56786->rtp:0:local:udp:172.10.10.115:42079|C-
w|-]
10-26 14:45:36.765: V/libjingle(6312): 
Conn[rtp:0:stun:udp:218.241.171.210:49361->rtp:0:local:udp:172.16.95.24:37536|C-
w|-]
10-26 14:45:36.765: V/libjingle(6312): 
Conn[rtp:0:stun:udp:218.241.171.210:49361->rtp:0:local:udp:172.10.10.115:42079|C
-w|-]
10-26 14:45:36.765: I/libjingle(6312): 
Jingle:Conn[rtp:0:stun:udp:218.241.171.210:49361->rtp:0:stun:udp:218.241.171.210
:55761|C-w|-]: Connection created
10-26 14:45:36.765: I/libjingle(6312): Jingle:Channel[rtp|__]: Created 
connection with origin=2, (5 total)
10-26 14:45:36.765: I/libjingle(6312): 
Jingle:Conn[rtp:0:local:udp:172.10.10.109:56786->rtp:0:stun:udp:218.241.171.210:
55761|C-w|-]: Connection created
10-26 14:45:36.765: I/libjingle(6312): Jingle:Channel[rtp|__]: Created 
connection with origin=2, (6 total)
10-26 14:45:36.765: V/libjingle(6312): 
Jingle:Conn[rtp:0:local:udp:172.10.10.109:56786->rtp:0:local:udp:172.16.95.24:37
536|C-w|-]: UpdateState(): pings_since_last_response_=, rtt=3000, now=25832605

problem: 
i installed my app on two android phones, connection can be established(may be 
can recv, recv=1, send=0), but no voice.

when i use my app with pc version's gtalk, work well even my app.

so i don't know what's going on.

here is the full log file in attatch, sorry for my english, hope someone can 
help , thanks in advance

Original issue reported on code.google.com by zhenguo...@gmail.com on 26 Oct 2012 at 8:36

Attachments:

GoogleCodeExporter commented 9 years ago
i think maybe the codecs problem.

Original comment by zhenguo...@gmail.com on 26 Oct 2012 at 8:40

GoogleCodeExporter commented 9 years ago
on android, i also get error: Underrun user: 0, server: 0, flags 0003

Original comment by zhenguo...@gmail.com on 26 Oct 2012 at 10:48

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 1 Jun 2013 at 4:06