Can a native(c++) client and a web(JavaScript) client enter one room?

in JavaScript
Two native clients can enter the room "test_room". Two web clients also see each other in this room.
But the native client and the web can not see each other's friends. Why is that?
But the native client and the web can not see each other's friends. Why is that?
0
Comments
Please check our matchmaking checklist at https://doc.photonengine.com/en-us/realtime/current/reference/matchmaking-and-lobby.
I set the region in the application settings: http://take.ms/GgAa6
But all the same I continue to receive an error: http://take.ms/4Ho7a.
Thanks.
Thank you for choosing Photon!
Do you mean the JavaScript SDK does not have all regions by default and "ru" as an example is missing?
If so share with us here how you added it?
Sorry for the inconvenience.
1. I write region "ru;ru" in application settings page: http://take.ms/GgAa6
2. In JS connecting to photon with method:
client.connectToRegionMaster('ru');
3. In C++:
client.selectRegion("ru");
before callingclient.connect(...)
before calling client.connect(...)
What you do is not how
selectRegion()
is supposed to be used and produces undefined behavior.Please see the API-reference of
Client::selectRegion()
at http://doc-api.photonengine.com/en/cpp/current/html/.demo_loadBalancing inside the C++ client SDKs contains example code for this feature.