|
Info
MyJingle is a sample program based on LibJingle. It was created while adding VoIP to
LLuna.
MyJingle is a test program. Its main purpose is to learn LibJingle using VS 2005 during complete peer to peer sessions. MyJingle shows how to use LibJingle on Windows in a Win32/MFC application. The media I/O of MyJingle is based on the BEAT media engine.
MyJingle makes VoIP calls to MyJingle and Google Talk. The program connects to Google Talk XMPP servers using tls (Transport Layer Security). You need a valid Google Talk account.
MyJingle is released under the GPL. The BEAT media engine is included. It is hereby also released as OSS under GPL. So, please share your improvements.
Screenshot

Using MyJingle
MyJingle can call and accept calls. But only one call at a time.
Calling:
- enter your JID and Password
- press 'Login'
- wait until the login succeeds and fills the roster
- select an entry from the roster
- press 'Call'
- ... talk to the mike ...
- press 'Hangup' or 'Logout' or close the dialog
Receiving calls:
- enter your JID and Password
- press 'Login'
- wait until the login succeeds and fills the roster
- wait for incoming call and dialog box
- accept ('Yes') the call
- ... talk to the mike ...
- press 'Hangup' or 'Logout' or close the dialog
User Interface:
JID:
Your Google Mail address is your JID.
Passwd:
The password of your Google account
Roster:
All your online friends. This will be filled automatically after login.
Call to:
JID of the person to call. Enter a JID or select an entry from the roster above.
Debug:
Log output
Status Messages:
Enable/disable messages about status changes
Beat Messages:
Enable/disable messages generated by the media engine
All XML Messages:
Enable/disable messages of incoming/outgoing XML
Login:
Login to the Google server
Logout:
What'd you think?
Call:
Call the JID in the 'Call to' box
Hangup:
Terminate the call
Building MyJingle
The solution is created with VS 2005. The plan is to: unzip, open the solution (MyJingle.sln), do "Build", then F5 (run). There are lots of warnings They are from signed/unsigned conversion and from new safety features of VS 2005. They can be safely ignored.
The libraries below are included in the package as binaries but you may have to recompile them.
Libraries:
Expat (tested with 1.95.8)
Speex (tested with 1.1.11.1)
LibJingle (tested with 0.1.0)
|