pombreda / libjingle

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

run multi-user conf on libjingle-0.58 #206

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. compile libjingle-0.58-fix-problem in windows
2. run program with call.exe -d --videoinput=testdata\video.rtpdump 
--voiceinput=testdata\voice.rtpdump --videooutput=vout.rtpdump 
--voiceoutput=aout.rtpdump
3. after login in,use ljoin mymuc to join muc rooms
4. vcall 
muvc-private-chat-99992eb2-990f-3a7f-aa09-2db1521801e1@groupchat.google.com

What is the expected output? What do you see instead?
What is the right output?

What version of the product are you using? On what operating system?
libjingle-0.58

Please provide any additional information below.

below is the console in vcall sample.

----------------------------------------------------------------------
vcall 
muvc-private-chat-99992eb2-990f-3a7f-aa09-2db1521801e1@groupchat.google.com
Found room 
'muvc-private-chat-99992eb2-990f-3a7f-aa09-2db1521801e1@groupchat.google.com'
Created channel
Created channel
Setting local voice description
Set send ssrc for audio: 2273523583
Setting local video description
Set send ssrc for video: 1025236307
calling...
Channel enabled
Changing voice state, recv=1 send=0
Channel enabled
Changing video state, recv=1 send=0
SEND >>>>>>>>>>>>>>>> : Tue Aug 30 23:30:16 2011
   <iq to="muvc-private-chat-99992eb2-990f-3a7f-aa09-2db1521801e1@groupchat.google.com" type="set" id="13">
     <jingle xmlns="urn:xmpp:jingle:1" action="session-initiate" sid="3452067439" initiator="lvyiwen@gmail.com/call476C21CF">
       <content name="audio" creator="initiator">
         <description xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio" ssrc="2273523583">
           <payload-type id="9" name="G722" clockrate="16000"/>
           <payload-type id="0" name="PCMU" clockrate="8000"/>
           <payload-type id="13" name="CN" clockrate="8000"/>
           <payload-type id="105" name="CN" clockrate="16000"/>
           <encryption>
             <crypto tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_32" key-params="inline:GjETQPQhyn+6FOJvhA0GrHco0x+bpHNm8F2s16iG"/>
             <crypto tag="1" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-params="inline:dK3oXLNZlPmdyWezZW6mw00zeRjHbdIp8gogGsrk"/>
           </encryption>
         </description>
         <transport xmlns="http://www.google.com/transport/p2p"/>
       </content>
       <content name="video" creator="initiator">
         <description xmlns="urn:xmpp:jingle:apps:rtp:1" media="video" ssrc="1025236307">
           <payload-type id="97" name="H264">
             <parameter name="width" value="320"/>
             <parameter name="height" value="240"/>
             <parameter name="framerate" value="30"/>
           </payload-type>
           <encryption>
             <crypto tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-params="inline:kd6TEeQqkuDhYwjKIGys+SZl1T2agM8vI7jbXYkx"/>
           </encryption>
         </description>
         <transport xmlns="http://www.google.com/transport/p2p"/>
       </content>
     </jingle>
     <session xmlns="http://www.google.com/session" type="initiate" id="3452067439" initiator="lvyiwen@gmail.com/call476C21CF">
       <description xmlns="http://www.google.com/session/video">
         <payload-type xmlns="http://www.google.com/session/video" id="97" name="H264" width="320" height="240" framerate="30"/>
         <src-id xmlns="http://www.google.com/session/video">
           1025236307
         </src-id>
         <rtp:encryption xmlns:rtp="urn:xmpp:jingle:apps:rtp:1">
           <rtp:crypto tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-params="inline:kd6TEeQqkuDhYwjKIGys+SZl1T2agM8vI7jbXYkx"/>
           <usage/>
         </rtp:encryption>
         <payload-type xmlns="http://www.google.com/session/phone" id="9" name="G722" clockrate="16000"/>
         <payload-type xmlns="http://www.google.com/session/phone" id="0" name="PCMU" clockrate="8000"/>
         <payload-type xmlns="http://www.google.com/session/phone" id="13" name="CN" clockrate="8000"/>
         <payload-type xmlns="http://www.google.com/session/phone" id="105" name="CN" clockrate="16000"/>
         <src-id xmlns="http://www.google.com/session/phone">
           2273523583
         </src-id>
         <rtp:encryption xmlns:rtp="urn:xmpp:jingle:apps:rtp:1">
           <rtp:crypto tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_32" key-params="inline:GjETQPQhyn+6FOJvhA0GrHco0x+bpHNm8F2s16iG"/>
           <rtp:crypto tag="1" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-params="inline:dK3oXLNZlPmdyWezZW6mw00zeRjHbdIp8gogGsrk"/>
           <pho:usage xmlns:pho="http://www.google.com/session/phone"/>
         </rtp:encryption>
       </description>
     </session>
   </iq>
RECV <<<<<<<<<<<<<<<< : Tue Aug 30 23:30:17 2011
   <iq to="lvyiwen@gmail.com/call476C21CF" type="error" id="13" from="muvc-private-chat-99992eb2-990f-3a7f-aa09-2db1521801e1@groupchat.google.com">
     <jingle action="session-initiate" sid="3452067439" initiator="lvyiwen@gmail.com/call476C21CF" xmlns="urn:xmpp:jingle:1">
       <content name="audio" creator="initiator">
         <description media="audio" ssrc="2273523583" xmlns="urn:xmpp:jingle:apps:rtp:1">
           <payload-type id="9" name="G722" clockrate="16000"/>
           <payload-type id="0" name="PCMU" clockrate="8000"/>
           <payload-type id="13" name="CN" clockrate="8000"/>
           <payload-type id="105" name="CN" clockrate="16000"/>
           <encryption>
             <crypto tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_32" key-params="inline:GjETQPQhyn+6FOJvhA0GrHco0x+bpHNm8F2s16iG"/>
RECV <<<<<<<<<<<<<<<< : Tue Aug 30 23:30:17 2011
   <crypto tag="1" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-params="inline:dK3oXLNZlPmdyWezZW6mw00zeRjHbdIp8gogGsrk"/>
 </encryption>
 </description>
 <transport xmlns="http://www.google.com/transport/p2p"/>
 </content>
 <content name="video" creator="initiator">
 <description media="video" ssrc="1025236307" xmlns="urn:xmpp:jingle:apps:rtp:1">
 <payload-type id="97" name="H264">
   <parameter name="width" value="320"/>
   <parameter name="height" value="240"/>
   <parameter name="framerate" value="30"/>
 </payload-type>
 <encryption>
   <crypto tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-params="inline:kd6TEeQqkuDhYwjKIGys+SZl1T2agM8vI7jbXYkx"/>
 </encryption>
 </description>
 <transport xmlns="http://www.google.com/transport/p2p"/>
 </content>
 </jingle>
 <session type="initiate" id="3452067439" initiator="lvyiwen@gmail.com/call476C21CF" xmlns="http://www.google.com/session">
 <description xmlns="http://www.google.com/session/video">
 <payload-type id="97" name="H264" width="320" height="240" framerate="30"/>
 <src-id>
 1025236307
 </src-id>
RECV <<<<<<<<<<<<<<<< : Tue Aug 30 23:30:17 2011
   <rtp:encryption xmlns:rtp="urn:xmpp:jingle:apps:rtp:1">
     <rtp:crypto tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-params="inline:kd6TEeQqkuDhYwjKIGys+SZl1T2agM8vI7jbXYkx"/>
     <usage/>
   </rtp:encryption>
   <payload-type id="9" name="G722" clockrate="16000" xmlns="http://www.google.com/session/phone"/>
   <payload-type id="0" name="PCMU" clockrate="8000" xmlns="http://www.google.com/session/phone"/>
   <payload-type id="13" name="CN" clockrate="8000" xmlns="http://www.google.com/session/phone"/>
   <payload-type id="105" name="CN" clockrate="16000" xmlns="http://www.google.com/session/phone"/>
   <src-id xmlns="http://www.google.com/session/phone">
     2273523583
   </src-id>
   <rtp:encryption xmlns:rtp="urn:xmpp:jingle:apps:rtp:1">
     <rtp:crypto tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_32" key-params="inline:GjETQPQhyn+6FOJvhA0GrHco0x+bpHNm8F2s16iG"/>
     <rtp:crypto tag="1" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-params="inline:dK3oXLNZlPmdyWezZW6mw00zeRjHbdIp8gogGsrk"/>
     <pho:usage xmlns:pho="http://www.google.com/session/phone"/>
   </rtp:encryption>
 </description>
 </session>
 <error code="500" type="wait">
 <resource-constraint xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
 <text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">
   stanza processing failure: An ssrc for SsrcKey{mediaType=AUDIO, senderId=muvc-private-chat-99992eb2-990f-3a7f-aa09-2db1521801e1@groupchat.google.co
m/lvyiwen_call476C21CF} has already been allocated.
 </text>
 </error>
 </iq>
Error(session.cc:731): Session error:
<cli:error code="500" type="wait" 
xmlns:cli="jabber:client"><resource-constraint 
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:pa
rams:xml:ns:xmpp-stanzas">stanza processing failure: An ssrc for 
SsrcKey{mediaType=AUDIO, 
senderId=muvc-private-chat-99992eb2-990f-3a7f-aa09-2db152180
1e1@groupchat.google.com/lvyiwen_call476C21CF} has already been 
allocated.</text></cli:error>
in response to:
<cli:iq 
to="muvc-private-chat-99992eb2-990f-3a7f-aa09-2db1521801e1@groupchat.google.com"
 type="set" id="13" xmlns:cli="jabber:client"><jingle xmlns="u
rn:xmpp:jingle:1" action="session-initiate" sid="3452067439" 
initiator="lvyiwen@gmail.com/call476C21CF"><content name="audio" 
creator="initiator"><des
cription xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio" 
ssrc="2273523583"><payload-type id="9" name="G722" 
clockrate="16000"/><payload-type id="0" n
ame="PCMU" clockrate="8000"/><payload-type id="13" name="CN" 
clockrate="8000"/><payload-type id="105" name="CN" 
clockrate="16000"/><encryption><crypto
 tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_32" key-params="inline:GjETQPQhyn+6FOJvhA0GrHco0x+bpHNm8F2s16iG"/><crypto tag="1" crypto-suite="AES_CM_128
_HMAC_SHA1_80" 
key-params="inline:dK3oXLNZlPmdyWezZW6mw00zeRjHbdIp8gogGsrk"/></encryption></des
cription><transport xmlns="http://www.google.com/transp
ort/p2p"/></content><content name="video" creator="initiator"><description 
xmlns="urn:xmpp:jingle:apps:rtp:1" media="video" ssrc="1025236307"><payload
-type id="97" name="H264"><parameter name="width" value="320"/><parameter 
name="height" value="240"/><parameter name="framerate" value="30"/></payload
-type><encryption><crypto tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_80" 
key-params="inline:kd6TEeQqkuDhYwjKIGys+SZl1T2agM8vI7jbXYkx"/></encryption></
description><transport 
xmlns="http://www.google.com/transport/p2p"/></content></jingle><session 
xmlns="http://www.google.com/session" type="initiate"
id="3452067439" initiator="lvyiwen@gmail.com/call476C21CF"><description 
xmlns="http://www.google.com/session/video"><payload-type xmlns="http://www.go
ogle.com/session/video" id="97" name="H264" width="320" height="240" 
framerate="30"/><src-id 
xmlns="http://www.google.com/session/video">1025236307</s
rc-id><rtp:encryption xmlns:rtp="urn:xmpp:jingle:apps:rtp:1"><rtp:crypto 
tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-params="inline:kd6TEeQqkuD
hYwjKIGys+SZl1T2agM8vI7jbXYkx"/><usage/></rtp:encryption><payload-type 
xmlns="http://www.google.com/session/phone" id="9" name="G722" clockrate="16000
"/><payload-type xmlns="http://www.google.com/session/phone" id="0" name="PCMU" 
clockrate="8000"/><payload-type xmlns="http://www.google.com/session/p
hone" id="13" name="CN" clockrate="8000"/><payload-type 
xmlns="http://www.google.com/session/phone" id="105" name="CN" 
clockrate="16000"/><src-id xmln
s="http://www.google.com/session/phone">2273523583</src-id><rtp:encryption 
xmlns:rtp="urn:xmpp:jingle:apps:rtp:1"><rtp:crypto tag="0" crypto-suite="AE
S_CM_128_HMAC_SHA1_32" 
key-params="inline:GjETQPQhyn+6FOJvhA0GrHco0x+bpHNm8F2s16iG"/><rtp:crypto 
tag="1" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-pa
rams="inline:dK3oXLNZlPmdyWezZW6mw00zeRjHbdIp8gogGsrk"/><pho:usage 
xmlns:pho="http://www.google.com/session/phone"/></rtp:encryption></description>
</s
ession></cli:iq>
Jingle:Net[Broadcom:10.0.1.15]: Allocation Phase=Udp (Step=0)
Jingle:Port[:0:local:Net[Broadcom:10.0.1.15]]: Port created
Jingle:Port[rtcp:0:local:Net[Broadcom:10.0.1.15]]: Added port to allocator
Sorting available connections:
Jingle:Port[:0:stun:Net[Broadcom:10.0.1.15]]: Port created
Jingle:Port[rtcp:0:stun:Net[Broadcom:10.0.1.15]]: Added port to allocator
Jingle:Net[Broadcom:10.0.1.15]: Allocation Phase=Udp (Step=0)
Jingle:Port[:0:local:Net[Broadcom:10.0.1.15]]: Port created
Jingle:Port[rtp:0:local:Net[Broadcom:10.0.1.15]]: Added port to allocator
Sorting available connections:
Jingle:Port[:0:stun:Net[Broadcom:10.0.1.15]]: Port created
Jingle:Port[rtp:0:stun:Net[Broadcom:10.0.1.15]]: Added port to allocator
Jingle:Net[Broadcom:10.0.1.15]: Allocation Phase=Udp (Step=0)
Jingle:Port[:0:local:Net[Broadcom:10.0.1.15]]: Port created
Jingle:Port[video_rtcp:0:local:Net[Broadcom:10.0.1.15]]: Added port to allocator
Sorting available connections:
Jingle:Port[:0:stun:Net[Broadcom:10.0.1.15]]: Port created
Jingle:Port[video_rtcp:0:stun:Net[Broadcom:10.0.1.15]]: Added port to allocator
Jingle:Net[Broadcom:10.0.1.15]: Allocation Phase=Udp (Step=0)
Jingle:Port[:0:local:Net[Broadcom:10.0.1.15]]: Port created
Jingle:Port[video_rtp:0:local:Net[Broadcom:10.0.1.15]]: Added port to allocator
Sorting available connections:
Jingle:Port[:0:stun:Net[Broadcom:10.0.1.15]]: Port created
Jingle:Port[video_rtp:0:stun:Net[Broadcom:10.0.1.15]]: Added port to allocator
Sorting available connections:
Sorting available connections:
Sorting available connections:
Sorting available connections:
SEND >>>>>>>>>>>>>>>> : Tue Aug 30 23:30:36 2011
   <iq to="muvc-private-chat-99992eb2-990f-3a7f-aa09-2db1521801e1@groupchat.google.com" type="set" id="14">
     <jingle xmlns="urn:xmpp:jingle:1" action="session-terminate" sid="3452067439">
       <reason>
         <success/>
       </reason>
     </jingle>
     <session xmlns="http://www.google.com/session" type="terminate" id="3452067439" initiator="lvyiwen@gmail.com/call476C21CF">
       <success/>
     </session>
   </iq>
Channel disabled
Changing video state, recv=0 send=0
Destroyed channel
Channel disabled
Changing voice state, recv=0 send=0
Destroyed channel
Warning(call.cc:514): Speaker monitor for session 3452067439 already stopped.
call destroyed
RECV <<<<<<<<<<<<<<<< : Tue Aug 30 23:30:37 2011
   <iq to="lvyiwen@gmail.com/call476C21CF" type="error" id="14" from="muvc-private-chat-99992eb2-990f-3a7f-aa09-2db1521801e1@groupchat.google.com">
     <jingle action="session-terminate" sid="3452067439" xmlns="urn:xmpp:jingle:1">
       <reason>
         <success/>
       </reason>
     </jingle>
     <session type="terminate" id="3452067439" initiator="lvyiwen@gmail.com/call476C21CF" xmlns="http://www.google.com/session">
       <success/>
     </session>
     <error code="400" type="wait">
       <unexpected-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
       <text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">
         stanza processing failure: Message for uninitiated session.
       </text>
     </error>
   </iq>
RECV <<<<<<<<<<<<<<<< : Tue Aug 30 23:30:47 2011
   <presence to="lvyiwen@gmail.com/call476C21CF" from="muvc-private-chat-99992eb2-990f-3a7f-aa09-2db1521801e1@groupchat.google.com/qiyin2001_call1A7AC
B18">
     <status/>
     <priority>
       0
     </priority>
     <c node="http://www.google.com/xmpp/client/caps" ver="1.0.0.67" ext="voice-v1 pmuc-v1 video-v1 camera-v1" xmlns="http://jabber.org/protocol/caps"
/>
     <x stamp="20110830T15:28:39" xmlns="jabber:x:delay"/>
     <x xmlns="vcard-temp:x:update"/>
     <user:x xmlns:user="http://jabber.org/protocol/muc#user">
       <user:item affiliation="member" role="participant" jid="qiyin2001@gmail.com/call1A7ACB18"/>
     </user:x>
   </presence>
RECV <<<<<<<<<<<<<<<< : Tue Aug 30 23:31:01 2011
RECV <<<<<<<<<<<<<<<< : Tue Aug 30 23:31:02 2011

   <presence to="lvyiwen@gmail.com/call476C21CF" from="muvc-private-chat-99992eb2-990f-3a7f-aa09-2db1521801e1@groupchat.google.com/lvyiwen_call476C21C
F">
     <status/>
     <priority>
       0
     </priority>
     <c node="http://www.google.com/xmpp/client/caps" ver="1.0.0.67" ext="voice-v1 pmuc-v1 video-v1 camera-v1" xmlns="http://jabber.org/protocol/caps"
/>
     <x stamp="20110830T15:26:20" xmlns="jabber:x:delay"/>
     <x xmlns="vcard-temp:x:update">
       <photo>
         89d070117254f75d1f8fc50495e99dea196d5929
       </photo>
     </x>
     <user:x xmlns:user="http://jabber.org/protocol/muc#user">
       <user:item affiliation="owner" role="moderator" jid="lvyiwen@gmail.com/call476C21CF"/>
     </user:x>
   </presence>
RECV <<<<<<<<<<<<<<<< : Tue Aug 30 23:31:12 2011

----------------------------------------------------------------------

Original issue reported on code.google.com by lvyi...@gmail.com on 30 Aug 2011 at 3:38

GoogleCodeExporter commented 9 years ago
File media engine won't work with MUC right now. It'll be fixed in the next 
release 0.6.1

Original comment by jun...@google.com on 4 Oct 2011 at 6:56