Commit Graph

41 Commits

Author SHA1 Message Date
Thibaut GIRKA bc90bc1157 Destroy session when remote signs off 2009-10-16 19:04:04 +02:00
Thibaut GIRKA b2b8ac4b76 Connect only if user accepts, move jingle detection to 'update_toolbar'
This allows jingle availability to be updated if contact sign in/out.
This patch will also wait for user acceptance before connecting.
This will, among other things, ensure that audio/video state won't be set to
JINGLE_STATE_CONNECTING while the connection is already up.
2009-10-03 22:40:12 +02:00
Thibaut GIRKA 10a6b0683c Second typo corrected... I need to sleep... 2009-09-28 22:31:28 +02:00
Thibaut GIRKA b4d2227662 Fixed a typo ; Prepared tie breaking and content-info handling 2009-09-28 22:23:48 +02:00
Thibaut GIRKA 85195e99ad workaround for psi, little fixes... 2009-09-27 22:56:09 +02:00
Thibaut GIRKA e141d7875a Don't send audio/video data before session acceptance. 2009-09-26 23:07:09 +02:00
Thibaut GIRKA 5a1a36e348 Fix somes issues with content-add/content-accept/session-accept, and other things. 2009-09-26 21:55:43 +02:00
Thibaut GIRKA b5c7519740 A little fix with content acceptance ; modified a bit JINGLE_DISCONNECTED 2009-09-26 14:14:58 +02:00
Thibaut GIRKA 08b7f18f50 Fix content reject 2009-09-26 12:31:56 +02:00
Thibaut GIRKA 62d6f408c2 Merge the commits I've made yesterday with asterik's ones 2009-09-26 12:25:36 +02:00
Thibaut GIRKA 193f2613a9 Rewritten contentAddCB in order to ask the user about new contents 2009-09-26 12:22:41 +02:00
Yann Leboulanger a8eedfc781 ability to accept contents and not only session 2009-09-26 10:29:08 +02:00
Thibaut GIRKA 011f4fe142 Auto-accept contents we have created (it would make no sense to refuse it...) 2009-09-25 23:52:39 +02:00
Thibaut GIRKA a8bccebfb7 Added approve_content and decline_content methods.
A content has now to be accepted (user-side) before {content,session}-accept
2009-09-25 23:05:14 +02:00
Yann Leboulanger 5f70d6b78e use a str instance instead of a xmpp.JID instance 2009-09-25 20:41:22 +02:00
Thibaut GIRKA 77541f3e7f support for content-{add,reject,accept}, new helpers, and other few things 2009-09-25 19:32:13 +02:00
Yann Leboulanger 32965a948e new GUI to start audio and video sessions. TODO: ability to add/remove audio/video content to an existing session 2009-09-25 13:52:44 +02:00
Thibaut GIRKA d7560ed764 My last commit was useless... now terminate the session if the connection fails 2009-09-22 22:33:00 +02:00
Thibaut GIRKA a4e019ee7e Last time, I removed something I shouldn't have... 2009-09-20 22:41:17 +02:00
Thibaut GIRKA c162780a58 coding standards, and other few things 2009-09-19 17:24:59 +02:00
Thibaut GIRKA 5503c80e2a fix some erros from my last commit, fix conditions for session initating and acceptance 2009-09-18 20:17:35 +02:00
Thibaut GIRKA bd9d793ad8 send messages to the gui, wait for codecs, and other things
JingleSession now sends messages about errors or session terminating to the GUI.
Another thing is that it'll wait for all transports candidates and all codecs to be ready before
starting or accepting a session. This is required by video, which is only missing a GUI. :)
2009-09-17 23:36:26 +02:00
Yann Leboulanger 12baddbdc3 start of GUI stuff for VOIP 2009-09-17 14:48:15 +02:00
Thibaut GIRKA 163b01e113 New class for video sessions, added an end_session method, and minor changes 2009-09-16 22:35:11 +02:00
Thibaut GIRKA 8b4cd1b368 Fixed two more or less fatal mistakes from my last commit 2009-09-16 21:21:08 +02:00
Yann Leboulanger 11c7de6c34 coding standards 2009-09-16 20:41:12 +02:00
Thibaut GIRKA af44ee0840 Moved things to JingleRTPContent, start pipeline earlier
Some methods of JingleVoIPContent have been moved to JingleRTPContent, in prevision of a video content class.

The pipeline now starts in setupStream, and the stream's direction is changed when the stream is ready.
2009-09-16 13:55:54 +02:00
Thibaut GIRKA 32ad59aa42 jingle: move from the old farsight to farsight2,
better compliance to the last version of XEP 0166, 0167 and 0176
2009-09-13 11:02:49 +02:00
Tomasz Melcer d3a4029288 Jingle: backport of py2.5-only function 2007-08-24 15:44:49 +00:00
Tomasz Melcer be38a7a1eb Jingle: declining session 2007-08-24 13:25:12 +00:00
Tomasz Melcer 2a7f1a654a Jingle: dialog for accepting voice calls 2007-08-23 23:42:31 +00:00
Tomasz Melcer 0a9c7f67ec Jingle: lots of debug prints cut 2007-08-21 18:18:48 +00:00
Tomasz Melcer 7f57a9d2e8 Jingle: wrongly decoded connection parameters from transport-info 2007-08-20 23:14:57 +00:00
Tomasz Melcer 6a6527e1f3 Jingle: fix py2.5 construct 2007-08-19 20:01:38 +00:00
Tomasz Melcer 70ddb3e681 Jingle: more farsight in jingle.py 2007-08-15 09:47:29 +00:00
Tomasz Melcer 5bb2fa9a0c Jingle: farsight bindings define constants now 2007-08-12 21:22:25 +00:00
Tomasz Melcer 5f67848c92 Jingle: better farsight wrappers 2007-08-12 00:16:54 +00:00
Tomasz Melcer 394c544571 Jingle: another farsight function wrapped + start using farsight in jingle.py 2007-08-11 21:47:53 +00:00
Tomasz Melcer fdf9d42e57 Jingle: fixes for content-description negotiation. 2007-08-07 16:34:09 +00:00
Tomasz Melcer 459c73f961 Jingle: UI entry point and lots of small changes. 2007-08-06 23:19:57 +00:00
Tomasz Melcer 9b378d625a Jingle: Initial support for jingle and jingle-audio.
Code isn't linked with the connection code yet. Inside:
 * A basic form of jingle framework; the goal is to make code reusable
   for other jingle uses.
 * Codec "negotiation" for jingle-audio.
2007-08-06 15:53:01 +00:00