MCPcopy
hub / github.com/openai/openai-python / stop

Method stop

examples/realtime/audio_util.py:85–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83 self.stream.start()
84
85 def stop(self):
86 self.playing = False
87 self.stream.stop()
88 with self.lock:
89 self.queue = []
90
91 def terminate(self):
92 self.stream.close()

Calls

no outgoing calls