Enable the audio stream on the server in the specified mode (input/output). Returns: `True` if the stream is active, `False` otherwise.
(self)
| 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 | """ |