I have a website that can be accessed at https://127.0.0.1:2053, and Milestone is available at https://127.0.0.1:2087. This means they share the same domain but use different ports.
I used Milestone XPMobileSDK.js to build a simple page that streams video from https://127.0.0.1:2053. To enable cross-origin access, I set 127.0.0.1:2053 as the Access-Control-Allow-Origin in the VideoOS.MobileServer.Service.exe.config file located on the Milestone Mobile server. After making this change, I restarted the Milestone Mobile server.
However, I am still encountering a cross-origin access issue when trying to stream from
https://127.0.0.1:2053. What could be the root cause of this problem?