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
67a6894b
Commit
67a6894b
authored
Aug 15, 2022
by
Tijmen de Mes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't add chat when connecting with audio/video from chat window
parent
717a345c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
chatwindow.py
blink/chatwindow.py
+2
-2
No files found.
blink/chatwindow.py
View file @
67a6894b
...
@@ -2738,13 +2738,13 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
...
@@ -2738,13 +2738,13 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
blink_session
.
connect
()
blink_session
.
connect
()
def
_AH_ConnectWithAudio
(
self
):
def
_AH_ConnectWithAudio
(
self
):
stream_descriptions
=
[
StreamDescription
(
'audio'
)
,
StreamDescription
(
'chat'
)
]
stream_descriptions
=
[
StreamDescription
(
'audio'
)]
blink_session
=
self
.
selected_session
.
blink_session
blink_session
=
self
.
selected_session
.
blink_session
blink_session
.
init_outgoing
(
blink_session
.
account
,
blink_session
.
contact
,
blink_session
.
contact_uri
,
stream_descriptions
=
stream_descriptions
,
reinitialize
=
True
)
blink_session
.
init_outgoing
(
blink_session
.
account
,
blink_session
.
contact
,
blink_session
.
contact_uri
,
stream_descriptions
=
stream_descriptions
,
reinitialize
=
True
)
blink_session
.
connect
()
blink_session
.
connect
()
def
_AH_ConnectWithVideo
(
self
):
def
_AH_ConnectWithVideo
(
self
):
stream_descriptions
=
[
StreamDescription
(
'audio'
),
StreamDescription
(
'video'
)
,
StreamDescription
(
'chat'
)
]
stream_descriptions
=
[
StreamDescription
(
'audio'
),
StreamDescription
(
'video'
)]
blink_session
=
self
.
selected_session
.
blink_session
blink_session
=
self
.
selected_session
.
blink_session
blink_session
.
init_outgoing
(
blink_session
.
account
,
blink_session
.
contact
,
blink_session
.
contact_uri
,
stream_descriptions
=
stream_descriptions
,
reinitialize
=
True
)
blink_session
.
init_outgoing
(
blink_session
.
account
,
blink_session
.
contact
,
blink_session
.
contact_uri
,
stream_descriptions
=
stream_descriptions
,
reinitialize
=
True
)
blink_session
.
connect
()
blink_session
.
connect
()
...
...
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