Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
afce869f
Commit
afce869f
authored
Mar 11, 2014
by
Saul Ibarra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cancel audio stream proposal in AudioSessionItem.end if applicable
parent
f41a747c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sessions.py
blink/sessions.py
+3
-3
No files found.
blink/sessions.py
View file @
afce869f
...
...
@@ -1585,9 +1585,9 @@ class AudioSessionItem(object):
return
self
.
blink_session
.
info
.
duration
def
end
(
self
):
# this needs to consider the case where the audio stream is being added. in that case we need to cancel the proposal -Dan
# however that information is not yet available (need the proposed flag on the streams) -Dan
if
len
(
self
.
blink_session
.
streams
)
>
1
and
self
.
blink_session
.
state
==
'connected'
:
if
self
.
audio_stream
in
self
.
blink_session
.
streams
.
proposed
:
self
.
blink_session
.
sip_session
.
cancel_proposal
()
el
if
len
(
self
.
blink_session
.
streams
)
>
1
and
self
.
blink_session
.
state
==
'connected'
:
self
.
blink_session
.
remove_stream
(
self
.
audio_stream
)
else
:
self
.
blink_session
.
end
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment