MCPcopy Create free account
hub / github.com/ARM-software/AVH / setDevice

Method setDevice

interface/vstream/python/vsi_video.py:99–110  ·  view source on GitHub ↗

Set the video streaming device index (input/output). Args: device: The device index value to set on the server. Returns: Device index actually set.

(self, device)

Source from the content-addressed store, hash-verified

97 return current_mode
98
99 def setDevice(self, device):
100 """
101 Set the video streaming device index (input/output).
102 Args:
103 device: The device index value to set on the server.
104 Returns:
105 Device index actually set.
106 """
107 self.conn.send([self.SET_DEVICE, device])
108 device_index = self.conn.recv()
109
110 return device_index
111
112 def setFilename(self, filename):
113 """

Callers 1

wrDEVICEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected