zf8848 / libjingle

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

Example call doesn't work on OS X 10.6 #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
Compile "call" on MAC OS X 10.6, gcc 4.2.1
2.
Start the example "call"
3.
On the commandline, call one of the friends in the roster

What is the expected output? What do you see instead?
The friend which happens to be a real user, sees the "call" client online while 
logged in gmail (left bar) but the client doesn't seem to have any voice or 
video capabilities.

What version of the product are you using? On what operating system?
version 0.5, Mac OS X on a Macbook pro (built in I-sight and microphone).

Please provide any additional information below.

Starting in debug mode (--d option), it seems that the presence sent looks like 
this:

SEND >>>>>>>>>>>>>>>> : Sat Oct 16 01:52:53 2010
   <presence>
     <status/>
     <priority>
       0
     </priority>
     <c xmlns="http://jabber.org/protocol/caps" node="http://www.google.com/xmpp/client/caps" ver="1.0.0.67" ext=" pmuc-v1"/>
     <x xmlns="jabber:x:delay" stamp="20101016T08:52:53"/>
   </presence>

....whereas the presence received from the peer looks like this.....

RECV <<<<<<<<<<<<<<<< : Sat Oct 16 01:52:53 2010
   <presence from="retracted##@gmail.com/gmail.8DE825BC" to="jingletest7@gmail.com/callAD96E353">
     <priority>
       24
     </priority>
     <caps:c node="http://mail.google.com/xmpp/client/caps" ver="1.1" ext="pmuc-v1 sms-v1 camera-v1 video-v1 voice-v1" xmlns:caps="http://jabber.org/protocol/caps"/>
     <status/>
     <x xmlns="vcard-temp:x:update"/>
   </presence>
RECV <<<<<<<<<<<<<<<< : Sat Oct 16 01:52:53 2010

In the "caps:c" element, the peer declares camera, video, voice but this client 
(call) declares none of these. Maybe that is related to the problem?

Original issue reported on code.google.com by manpree...@gmail.com on 16 Oct 2010 at 8:57

GoogleCodeExporter commented 9 years ago
Just to clarify, this was a voice call using the "call <JID>" syntax, from the 
commandline.

Original comment by manpree...@gmail.com on 16 Oct 2010 at 8:58

GoogleCodeExporter commented 9 years ago

call manpreets7@gmail.com
(call) 
Found online friend 'manpreets7@gmail.com/gmail.8DE825BC'
(call) SEND >>>>>>>>>>>>>>>> : Sat Oct 16 02:24:41 2010
   <iq to="manpreets7@gmail.com/gmail.8DE825BC" type="set" id="8">
     <jingle xmlns="urn:xmpp:jingle:1" action="session-initiate" id="3524921229" initiator="jingletest7@gmail.com/call62253F45">
       <content name="audio" creator="initiator">
         <description xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio"/>
         <transport xmlns="http://www.google.com/transport/p2p"/>
       </content>
     </jingle>
     <session xmlns="http://www.google.com/session" type="initiate" id="3524921229" initiator="jingletest7@gmail.com/call62253F45">
       <description xmlns="http://www.google.com/session/phone"/>
     </session>
   </iq>
RECV <<<<<<<<<<<<<<<< : Sat Oct 16 02:24:42 2010

   <iq to="jingletest7@gmail.com/call62253F45" type="set" id="DE7FDD4104F546E1" from="manpreets7@gmail.com/gmail.8DE825BC">
     <ses:session type="terminate" initiator="jingletest7@gmail.com/call62253F45" id="3524921229" xmlns:ses="http://www.google.com/session">
       <ses:reason>
         <ses:general-error/>
         <ses:initiate-failed/>
       </ses:reason>
       <pho:internal-server-error xmlns:pho="http://www.google.com/session/phone"/>
     </ses:session>
   </iq>
Received error on call: general-error
SEND >>>>>>>>>>>>>>>> : Sat Oct 16 02:24:42 2010
   <iq to="manpreets7@gmail.com/gmail.8DE825BC" id="DE7FDD4104F546E1" type="result"/>

Original comment by manpree...@gmail.com on 16 Oct 2010 at 9:26

GoogleCodeExporter commented 9 years ago
I have the same issue, on OSX 10.6, also I get a segfault when I quit.

Original comment by darre...@gmail.com on 18 Oct 2010 at 9:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Same exact situation. I can see people available to chat, but calling just 
never seems to pan out and I often get an error stanza back. I know 
independently that both iSight and other video chat services work fine, so I 
believe the problem is isolated here. 

Original comment by roken...@gmail.com on 21 Oct 2010 at 6:36

GoogleCodeExporter commented 9 years ago
Found that the MediaEngine class used by "call" by default doesn't implement 
much. Use --voiceinput etc. to use the FileMediaEngine. That seems to work. But 
it transfers data between files.

Original comment by manpree...@gmail.com on 22 Oct 2010 at 10:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Same problem here.
Also, using --voiceinput it seems to work.
But I really wanted to be able to communicate with the other side besides using 
the voice.rtpdump files.

Any ideas?

Original comment by fe.mesqu...@gmail.com on 3 Nov 2010 at 2:11

GoogleCodeExporter commented 9 years ago
I have the same issue on Windows XP but the voiceinput works.  videoinput 
connects a video chat but doesn't appear to send any video through.

Original comment by dopa...@gmail.com on 6 Dec 2010 at 9:03

GoogleCodeExporter commented 9 years ago
In the libjingle SDK package, only File Media Engine is provided. When using 
"call" command, you have to provide input files. For example:

%TalkDir%\build\dbg\staging>call.exe 
--videoinput=..\..\..\session\phone\testdata\video.rtpdump 
--voiceinput=..\..\..\session\phone\testdata\voice.rtpdump

Original comment by jun...@google.com on 14 Jan 2011 at 5:27