can we establish photon connection with nodejs for sending room events
Answers
-
Hi @vinita123,
Thank you for choosing Photon!
Do you mean you want to run a Photon client instance from a node.js server?
Yes, that is doable.
Did you try the Photon Realtime JavaScript SDK?
You need to be careful with serializing and deserializing events.
If the Unity client SDK you use is PUN you need extra considerations (mainly AppVersion) to be able to communicate with both.
The JavaScript client won't support most of the PUN specific features out-of-the-box (Instantiation, RPC, etc.) due to this.0 -
I don't want to connect with nodejs client side. I want photon connection for nodejs server side.( like we use socket.io for server side). Is there any way to connect through nodejs server side?
so we need server to server communication.0 -
Hi @vinita123,
You have two options then:
- Photon Realtime WebHooks
- Photon Realtime Game Server Plugins0