I have web application with asp.net core 2.2. this application is a client for a Api server
i'm using adobe media server 5 for video streaming and my stream urls is like
this:http://localhost/hls-vod/sample1_150kbps.f4v.m3u8
I play that link with hls.js
but i get this Error
Access to XMLHttpRequest at 'http://localhost/hls-vod/sample1_150kbps.f4vFrag1Num0.ts' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
follow solutions are not working for me :
https://community.adobe.com/t5/media-server/how-to-allow-cors-request-from-javascript/td-p/8691655
How to allow CORS request from Javascript in Adobe Media Server
is there better solution for playing media server stream in asp.net core web applications?