Play HTTP/HLS streamimg in web
Answeredbut video is not display on web page.
if I do HTTP (media and .webm), I am getting unauthorized error. (user name and password are corrects).
if I do HLS (m3u8), I am getting 404 error.
If I enter URL directly in browser (https://localhost:7001/media/8c4cae59-054e-21d4-8b55-8d4e6fe47c41.webm), it ask for username and password and it works.
my goal is
I want to play video stream in browser, want to embed live stream but do not want user to enter user name and password.
-
Hello,
Please provide the following info: OS version, VMS build number.
We have the test web page in our repo on GitHub
I've just rechecked. It works for me.
If you're trying to query the Server from the browser on the same machine the Server runs, most probaly you'll get the CORS error. See the screenshot.
In the test web page mentioned, use the variable set like this.
var serverAddress = serverCloudAddress; // serverLocalAddress ;
Make sure, your Server is connected to the Cloud.
Please sign in to leave a comment.
Comments
1 comment