def set_screen_async(self, name, **kwargs): """Async version of set_screen()""" request = compositor_pb2.SetScreenRequest(name=name) return self.call_async(self._stub.SetScreen, request, self._name_from_response, self._compositor_error_from_response, **kwargs)
def set_screen(self, name, **kwargs): """Change the current view that is being streamed over the network""" request = compositor_pb2.SetScreenRequest(name=name) return self.call(self._stub.SetScreen, request, self._name_from_response, self._compositor_error_from_response, **kwargs)