Closed edinsof closed 3 years ago
Thank you for that heads up. I haven't tested the self-hosted yet, but I'll get to that shortly.
There's been a list of things needing testing; just got the raspberry pi code fixed, for example.
Yes I'm testing the update on my Raspberry Pi 3 and Logitech c920
Now --streamid only support numbers
if run : python3 publish.py --streamid 321a --rpi
--error: argument --streamid: invalid int value: '321a'
Working for me now. Thank you for reporting the issue.
python3 publish.py --streamid sdfasdfasdf --server wss://free3.piesocket.com/v3/1?api_key=OMXXXXXXXXXzNtfh6QKcDuspYK6RzvrZ5BhGyfGTsJkr3K0
I think things should work by default with a c920; I'm curious to know what frame rate you get at 1080p30 with a Rpi3 -- if it's low, you might need to lower the resolution to 960p or 720p instead.
Hi i change wss server to my sefl hosted version but the new update dont works
i get this error when open chrome and refresh url
You can view this stream at: https://vdo.ninja/?password=false&view=321 WSS CONNECTED Traceback (most recent call last): File "publish.py", line 521, in
res = asyncio.get_event_loop().run_until_complete(c.loop())
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "publish.py", line 352, in loop
if msg['streamID'] == streamid:
NameError: name 'streamid' is not defined
root@raspberrypi:~/raspberry_ninja#