Skip to content

Commit

Permalink
server timeout increased
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankgarg98 authored Nov 15, 2018
1 parent ef206ef commit e129706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connection/voice_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
sockets_list = [sys.stdin, server]

read_sockets,write_socket, error_socket = select.select(sockets_list,[],[])
server.settimeout(0.001)
server.settimeout(0.035)

p=pyaudio.PyAudio()
recv_stream=p.open(format=FORMAT,channels=CHANNELS,rate=RATE,output=True,frames_per_buffer=CHUNK)
Expand Down

0 comments on commit e129706

Please sign in to comment.