File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -54,14 +54,15 @@ To run the receiver please use Python 3 and do the following:
5454* Run the following commands
5555
5656``` zsh
57+ brew install python3
5758brew install portaudio
58- virtualenv proto
59+ virtualenv -p /usr/local/bin/python3 proto
5960source proto/bin/activate
6061pip install -r requirements.txt
6162pip install --global-option=build_ext --global-option=" -I/usr/local/Cellar/portaudio/19.6.0/include" --global-option=" -L/usr/local/Cellar/portaudio/19.6.0/lib" pyaudio
6263
6364
64- python ap2-receiver.py -m myap2
65+ python ap2-receiver.py -m myap2 --netiface=en0
6566```
6667
6768## Windows
Original file line number Diff line number Diff line change @@ -441,6 +441,12 @@ def do_TEARDOWN(self):
441441 self .send_header ("Server" , self .version_string ())
442442 self .send_header ("CSeq" , self .headers ["CSeq" ])
443443 self .end_headers ()
444+
445+ # Erase the hap() instance, otherwise reconnects fail
446+ self .server .hap = None
447+
448+ # terminate the forked event_proc, otherwise a zombie process consumes 100% cpu
449+ self .event_proc .terminate ()
444450
445451 def do_SETPEERS (self ):
446452 print ("SETPEERS %s" % self .path )
You can’t perform that action at this time.
0 commit comments