Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
e1e3a39a
Commit
e1e3a39a
authored
4 years ago
by
Reese Wilson
Browse files
Options
Downloads
Patches
Plain Diff
dringctrl: add signal callbacks with data
Change-Id: Ief11a7a484973c15ff5fd03fb64240f267527b2b
parent
f58647ea
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/dringctrl/controller.py
+8
-0
8 additions, 0 deletions
tools/dringctrl/controller.py
with
8 additions
and
0 deletions
tools/dringctrl/controller.py
+
8
−
0
View file @
e1e3a39a
...
...
@@ -250,6 +250,9 @@ class DRingCtrl(Thread):
self
.
onCallOver_cb
()
del
self
.
activeCalls
[
callid
]
def
onCallStateChanged_cb
(
self
,
callid
,
state
,
code
):
pass
def
onCallStateChanged
(
self
,
callid
,
state
,
code
):
"""
On call state changed event, set the values for new calls,
or delete the call from the list of active calls
...
...
@@ -286,13 +289,18 @@ class DRingCtrl(Thread):
self
.
onCallInactive
(
callid
,
state
)
else
:
print
(
"
unknown state:
"
+
str
(
state
))
self
.
onCallStateChanged_cb
(
callid
,
state
,
code
)
def
onConferenceCreated_cb
(
self
):
pass
def
onConferenceCreated_callback
(
self
,
confId
):
pass
def
onConferenceCreated
(
self
,
confId
):
self
.
currentConfId
=
confId
self
.
onConferenceCreated_cb
()
self
.
onConferenceCreated_callback
(
confId
)
def
onDataTransferEvent
(
self
,
transferId
,
code
):
pass
...
...
This diff is collapsed.
Click to expand it.
Reese
@figadore
mentioned in issue
#254 (closed)
·
4 years ago
mentioned in issue
#254 (closed)
mentioned in issue #254
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment