You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is stale because it has been open for 30 days with no activity. If there won't be any activity in the next 14 days, this issue will be closed automatically.
Hello, I am trying to load the stream into the player but, am not able to load it.
Full Stream Code on Server :
`const express = require("express");
var cors = require("cors");
var ip = require("ip")
const app = express();
const fs = require("fs");
app.use(cors())
app.use('/video/:name', express.static('uploads'))
app.get("/", function (req, res) {
res.sendFile(__dirname + "/index.html");
});
app.get("/video/:name", function (req, res) {
});
app.get("/final", function (req, res) {
});
app.listen(3004, function () {
console.log("Listening on port 3004!");
console.log('ip address', ip.address());
});`
I have tried both first stream data and other server file as static, Static file working fine but stream not loading
The text was updated successfully, but these errors were encountered: