Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0dfbdb2477 | |||
| e171b9c460 | |||
| 66b5dc7c15 | |||
| 0f1d36fc06 | |||
| d24c53198c | |||
| fe1640695c |
@@ -1 +1 @@
|
|||||||
__version__ = "0.4.0"
|
__version__ = "0.4.1"
|
||||||
|
|||||||
@@ -174,7 +174,6 @@ class Client:
|
|||||||
def on_close(self, ws, close_status_code, close_msg):
|
def on_close(self, ws, close_status_code, close_msg):
|
||||||
print(f"[INFO]: Websocket connection closed: {close_status_code}: {close_msg}")
|
print(f"[INFO]: Websocket connection closed: {close_status_code}: {close_msg}")
|
||||||
self.recording = False
|
self.recording = False
|
||||||
self.server_error = False
|
|
||||||
self.waiting = False
|
self.waiting = False
|
||||||
|
|
||||||
def on_open(self, ws):
|
def on_open(self, ws):
|
||||||
@@ -489,8 +488,7 @@ class TranscriptionTeeClient:
|
|||||||
self.stream.stop_stream()
|
self.stream.stop_stream()
|
||||||
self.stream.close()
|
self.stream.close()
|
||||||
self.p.terminate()
|
self.p.terminate()
|
||||||
for client in self.clients:
|
self.close_all_clients()
|
||||||
client.close_all_clients()
|
|
||||||
|
|
||||||
self.write_output_recording(n_audio_file, out_file)
|
self.write_output_recording(n_audio_file, out_file)
|
||||||
self.write_all_clients_srt()
|
self.write_all_clients_srt()
|
||||||
|
|||||||
Reference in New Issue
Block a user