Open andreaswatch opened 3 years ago
I find this library very interesting and have been looking into it a bit ,when i run your code it connects to my peerjs server. But when I insert the remote ID of the other client given from the the peerjs server I get the error message:
Traceback (most recent call last):
File "test.py", line 51, in
Any idea what could be the reason ?
No, I'm sorry. I am still hoping for an answer to my question.
First of all I would like to thank you for your effort in porting peerjs to python, this is a very interesting library!
Running the code below gives me:
createDataChannel() got an unexpected keyword argument 'ordered' File "/home/pi/automations/OpenCv/lib/python3.7/site-packages/peerjs/negotiator.py", line 63, in startConnection dataConnection.label, ordered=reliable)
However, removing the 'ordered' argument, gives me further exceptions, like: 'dict' object has no attribute 'constraints' (from negotiator.py #209)
So I guess that the problem might be in my python version or the installed library versions...(?) I installed these requirements in a new venv:
#requirements.txt av~=8.0.0 aiortc>=0.9 websockets>=8.1 aiohttp>=3.6 pyee>=6.0 websockets>=8.1 dataclasses_json>=0.3 coloredlogs>=10.0
python --version Python 3.7.3
Could you please help to come around the problems?