The new Server SDK v2.6.0 is available on our download page now. In short: this fixes a concurrent user count issue with Policy requests, supports alternative License Servers, has several changes in the Flash AMF3 support and encryption support for Android. The handling of port changes in connections is enhanced but you should update DotNet, Unity or Silverlight clients to use v6.3.1 Client SDKs and up.
v2.6.0 in more detail:
In the previous release, some of our customers noticed that their license’s CCU count was used up over time – even though there were not so many concurrent users. The cause for this were web-clients that didn’t close the connections for policy-requests. TCP does not timeout by itself: If nothing is sent, the connection is assumed open and counts as concurrent connection. Now the server actively closes the connection once it sent the policy-file.
So far, we exclusively used Google App Engine as Licensing Server for Photon, mainly for reliability reasons. It’s a service with awesome availability. However, it’s not available in some countries and locations. To solve this, we built an alternative Licensing Server that runs in Microsoft’s Azure platform. It’s deployed in Europe and Asia (Hongkong, as far as I know). New “floating licenses” (that run on any machine) will now include either URL and use the first service available. Of course, licenses can also be locked to a certain public IP or hardware ID as before.
As Photon’s Flash AMF3 support is becoming more widely used, we ironed out several edges in that area. Objects are now deserialized to Hashtable instead of Dictionary<string, object> and we now support int[], double[], long[], short[], float[], string[] and Hashtable[] parameters.
Working on the Android Client SDK, we found out that encryption is something else in Java than in DotNet. The supported encryption algorithms are so different that we had to adjust the server side to get it running. This is done behind the scenes but also the foundation for the new (upcoming) client SDK.
This release changes the way that clients are identified to optimize handling of port changes that might happen. As a result you should update Unity, DotNet and Silverlight clients to use the latest client SDKs.
Get the Photon Server SDK v2.6.0 here.