Disable the audio stream on the server. Returns: True if the stream is no longer active, False otherwise.
(self)
| 150 | return stream_active |
| 151 | |
| 152 | def disableStream(self): |
| 153 | """ |
| 154 | Disable the audio stream on the server. |
| 155 | Returns: |
| 156 | True if the stream is no longer active, False otherwise. |
| 157 | """ |
| 158 | self.conn.send([self.STREAM_DISABLE]) |
| 159 | stream_active = self.conn.recv() |
| 160 | |
| 161 | return stream_active |
| 162 | |
| 163 | def readAudio(self, size): |
| 164 | """ |