Configure CORS headers
Cross Origin Resource Sharing (CORS)¶
CORS Cross-origin resource sharing (CORS) is a mechanism that allows restricted resources (e.g. fonts) on a web page to be requested from another domain outside the domain from which the resource originated.
Peer5 performs requests from your video page to your video server,
for best performance it is required that your video server will respond with the following headers per request type:
options requests (sometime called preflight) are performed in many common browsers like Chrome and Firefox.
'GET, HEAD, OPTIONS'