bupt-william / libjingle

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

Audio Call MUC in libjingle #317

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. login libjngle client with Openfire server
2. use libjingle to create MUC room in openfire server
3. call the MUC room by call command

What is the expected output? What do you see instead?
0. 
Found room meeting-pbgi-ztlj@conference.leedian.com
Created channel
Setting local voice description
Set send ssrc for audio: 3477675389
Changing voice state, recv=0 send=0
calling...
Start ring...
Channel enabled
Changing voice state, recv=1 send=0
Jingle:Net[11b/g/n:192.168.1.8]: Allocation Phase=Udp (Step=0)
Error(session.cc:722): Session error:
<cli:error code="400" type="modify" xmlns:cli="jabber:client"><bad-request 
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></cli:error>
in response to:
<cli:iq to="meeting-pbgi-ztlj@conference.xxx.com" type="set" id="8" 
xmlns:cli="jabber:client"><jingle xmlns="urn:xmpp:jingle:1" 
action="session-initiate" sid="2790777625" 
initiator="audio1@xxx.com/chat"><content name="audio" 
creator="initiator"><description xmlns="urn:xmpp:jingle:apps:rtp:1" 
media="audio" ssrc="3477675389"><payload-type id="110" name="speex" 
clockrate="16000"/><payload-type id="111" name="speex" 
clockrate="8000"/><payload-type id="0" name="PCMU" 
clockrate="8000"/><payload-type id="101" name="telephone-event" 
clockrate="8000"/><rtcp-mux/></description><transport 
xmlns="http://180.169.8.174/streams"/></content></jingle><session 
xmlns="http://180.169.8.174" type="initiate" id="2790777625" 
initiator="audio1@xxx.com/chat"><description 
xmlns="http://xxx.xxx.xxx.xxx:7070/redfire/phone"><payload-type 
xmlns="http://xxx.xxx.xxx.xxx:7070/redfire/phone" id="110" name="speex" 
clockrate="16000"/><payload-type 
xmlns="http://xxx.xxx.xxx.xxx:7070/redfire/phone" id="111" name="speex" 
clockrate="8000"/><payload-type 
xmlns="http://xxx.xxx.xxx.xxx:7070/redfire/phone" id="0" name="PCMU" 
clockrate="8000"/><payload-type 
xmlns="http://xxx.xxx.xxx.xxx:7070/redfire/phone" id="101" 
name="telephone-event" clockrate="8000"/><src-id 
xmlns="http://xxx.xxx.xxx.xxx:7070/redfire/phone">3477675389</src-id></descripti
on></session></cli:iq>
Jingle:Port[:0:local:Net[11b/g/n:192.168.1.8]]: Port created
Jingle:Port[rtp:0:local:Net[11b/g/n:192.168.1.8]]: Added port to allocator
Jingle:Port[:0:stun:Net[11b/g/n:192.168.1.8]]: Port created
Jingle:Port[rtp:0:stun:Net[11b/g/n:192.168.1.8]]: Added port to allocator
Jingle:Net[Intel(R):192.168.1.7]: Allocation Phase=Udp (Step=0)
Jingle:Port[:0:local:Net[Intel(R):192.168.1.7]]: Port created
Jingle:Port[rtp:0:local:Net[Intel(R):192.168.1.7]]: Added port to allocator
Jingle:Port[:0:stun:Net[Intel(R):192.168.1.7]]: Port created
Jingle:Port[rtp:0:stun:Net[Intel(R):192.168.1.7]]: Added port to allocator
Channel disabled
Changing voice state, recv=0 send=0
Destroyed channel
Warning(call.cc:559): Speaker monitor for session 2790777625 already stopped.
call destroyed

1. the logged user establishs a audio session(channel) with the server MUC room.
2. the user can talk with the MUC room
3. after one another user joins the room, they can have audio conference call.

What version of the product are you using? On what operating system?
I am in Window 7 x64 and use libjingle 0.63 version.

Please provide any additional information below.
Do I need to use/implement XEP-0272 protocol to do audio conference in 
libjingle?

Original issue reported on code.google.com by triaphoo on 29 Feb 2012 at 1:33

GoogleCodeExporter commented 9 years ago
You need to implement support for Jingle in your Openfire server. Currently the 
server is rejecting the call.

Original comment by juberti@google.com on 24 Apr 2012 at 3:35