mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Update mjpeg_streamer script.
This commit is contained in:
parent
f648107bb9
commit
e7aa95cc56
@ -37,8 +37,8 @@ s = usocket.socket(usocket.AF_INET, usocket.SOCK_STREAM)
|
|||||||
s.bind([HOST, PORT])
|
s.bind([HOST, PORT])
|
||||||
s.listen(5)
|
s.listen(5)
|
||||||
|
|
||||||
# Set server socket to non-blocking
|
# Set server socket to blocking
|
||||||
s.settimeout(0)
|
s.setblocking(True)
|
||||||
|
|
||||||
def start_streaming(s):
|
def start_streaming(s):
|
||||||
print ('Waiting for connections..')
|
print ('Waiting for connections..')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user