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

Method setFilename

interface/vstream/python/vsi_video.py:112–123  ·  view source on GitHub ↗

Set the filename for the video stream on the server. Args: filename: The name of the file to set on the server. Returns: True if the filename is valid, False otherwise.

(self, filename)

Source from the content-addressed store, hash-verified

110 return device_index
111
112 def setFilename(self, filename):
113 """
114 Set the filename for the video stream on the server.
115 Args:
116 filename: The name of the file to set on the server.
117 Returns:
118 True if the filename is valid, False otherwise.
119 """
120 self.conn.send([self.SET_FILENAME, getcwd(), filename])
121 filename_valid = self.conn.recv()
122
123 return filename_valid
124
125 def configureStream(self, frame_width, frame_height, frame_rate, color_format):
126 """

Callers 1

wrFILENAMEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected