Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#1708 closed enhancement (fixed)

PyGUI: New Python GUI Application based on pjsua2+SWIG API

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.2
Component: applications Version:
Keywords: pjsua2 Cc:
Backport to 1.x milestone: Backported: no

Description

Python GUI Application based on pjsua2+SWIG API

Change History (9)

comment:1 Changed 6 years ago by bennylp

In 4640:

Re #1708 (PyGUI: New Python GUI Application based on pjsua2+SWIG API)

Initial implementation, some account functionality has been implemented. Details:

  • Uses Tk for GUI and pickle for object serialization. These are Python built-in modules
  • So far so good, everything (=Account API only so far!) seems to work, including:
    • STL string
    • STL vector
    • inheritance
    • calling callback that is implemented in Python with inheritance (the "director" feature")
  • Some notes though:
    • SIP worker threads need to be disabled because Tk GUI cannot be called from other threads (the worker thread will invoke callback which in turn will update GUI)
  • Features implemented in the GUI so far:
    • Account addition/deletion/modification
    • Registration
    • Logging to window
    • Persistent config (limited)

comment:2 Changed 6 years ago by nanang

In 4671:

Re #1708: Initial work on chat window.

comment:3 Changed 6 years ago by nanang

In 4677:

Re #1708: Implement adding participants, also various misc updates/fixes.

comment:4 Changed 6 years ago by bennylp

In 4679:

Re #1708: bring back logging and some fixes in settings dialog

comment:5 Changed 6 years ago by nanang

In 4686:

Re #1708:

  • Changed participant managements in Chat, e.g: changed Buddy based to URI based, create temporary Buddy for incoming call/IM from non-buddy.
  • Implemented simple media features in chat window (mute, volume, codec info).
  • Misc: added window menu listing chat windows, changed behaviour on closing chat window, etc.

comment:6 Changed 6 years ago by nanang

In 4687:

Re #1708: Misc updates:

  • Explicitly invoke call hangup in stopping audio.
  • Show text chat box, if it's hidden, when user initiates instant message (right click on buddy).

comment:7 Changed 6 years ago by nanang

In 4690:

Re #1708: Cleanup few chat stuffs in Python GUI.

comment:8 Changed 6 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

comment:9 Changed 6 years ago by nanang

In 4757:

Re #1708: Fixed missing conference port connection setups for audio conferencing.

Note: See TracTickets for help on using tickets.