Parsec texture streaming client operator for TouchDesigner. Build with CPulsPuls Operator. Based on parsec-cloud/parsec-sdk.
tested in TouchDesigner 2020.26630
You need a Parsec account. Go https://parsecgaming.com/ to create an acount and download Parsec App.
Note that only Windows 10 with some hardware requirements can be the host (the source computer of streaming texture).
A sessionID and PeerIDs are required to establish Parsec stream session. To get those IDs, use personal_api_parsec-sdk/login.py. For the detail, please refer this.
Note that in the original sdk script, API_HOST URL was not updated, and I modified the HOST as 'https://kessel-api.parsecgaming.com/'.
cd personal_api_parsec-sdk
python login.py
then input your email and password. (You might need error at the first attempt, and required to validate the access via the received email from parsec. ) Then you will get a session_id
and a host_peer_id
; those are sensitive information then do not share with others.
example:
{"instance_id":"","user_id":999999999,"session_id":"XXXXXXXXXXXXXXX**872ff21f53a52757399594d5aXXXXXXXXXXXX**","host_peer_id":"1jOuXXXXXXXXXXXXXXXXXXx5je"}
To get the list of available host computers, run python host.py
, then you'll get like
> python host.py
NAME PEER_ID
---- -------
COMPUTER1 host_peer_idXXXXXXXXXXXXXX
COMPUTER2 host_peer_idYYYYYYYYYYYYYY
Then, now you have 2 ids( session_id
and host_peer_id
) which you will use in ParsecTOP in TouchDesigner.
Now WIP. maybe soon. If you can read Japanese please read here . English version of this will be soon.