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

Method readFrame

interface/vstream/python/vsi_video.py:163–173  ·  view source on GitHub ↗

Request a video frame from the server. Returns: tuple: (data, eos) where data is a Bytearray of frame data and eos is a Boolean indicating end-of-stream.

(self)

Source from the content-addressed store, hash-verified

161 return stream_active
162
163 def readFrame(self):
164 """
165 Request a video frame from the server.
166 Returns:
167 tuple: (data, eos) where data is a Bytearray of frame data and eos is a Boolean indicating end-of-stream.
168 """
169 self.conn.send([self.FRAME_READ])
170 data = self.conn.recv_bytes()
171 eos = self.conn.recv()
172
173 return data, eos
174
175 def writeFrame(self, data):
176 """

Callers 1

rdDataDMAFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected