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

Method enableStream

interface/vstream/python/vsi_audio.py:141–150  ·  view source on GitHub ↗

Enable the audio stream on the server in the specified mode (input/output). Returns: `True` if the stream is active, `False` otherwise.

(self)

Source from the content-addressed store, hash-verified

139 return configuration_valid
140
141 def enableStream(self):
142 """
143 Enable the audio stream on the server in the specified mode (input/output).
144 Returns:
145 `True` if the stream is active, `False` otherwise.
146 """
147 self.conn.send([self.STREAM_ENABLE])
148 stream_active = self.conn.recv()
149
150 return stream_active
151
152 def disableStream(self):
153 """

Callers 1

wrCONTROLFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected