Commit 80e951e3 authored by Tijmen de Mes's avatar Tijmen de Mes

Added missing functions

parent 762ce165
...@@ -2937,6 +2937,12 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin): ...@@ -2937,6 +2937,12 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
def _AH_RemoveVideo(self): def _AH_RemoveVideo(self):
self.selected_session.blink_session.remove_stream(self.selected_session.blink_session.streams.get('video')) self.selected_session.blink_session.remove_stream(self.selected_session.blink_session.streams.get('video'))
def _AH_AddChat(self):
self.selected_session.blink_session.add_stream(StreamDescription('chat'))
def _AH_RemoveChat(self):
self.selected_session.blink_session.remove_stream(self.selected_session.blink_session.streams.get('chat'))
def _AH_RequestScreen(self): def _AH_RequestScreen(self):
if 'audio' in self.selected_session.blink_session.streams: if 'audio' in self.selected_session.blink_session.streams:
self.selected_session.blink_session.add_stream(StreamDescription('screen-sharing', mode='viewer')) self.selected_session.blink_session.add_stream(StreamDescription('screen-sharing', mode='viewer'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment