+ 1

How can to create a Media server ?

I want to create a simple server that serves media files over local network. I want to watch videos on browser or Play audio files or watch pictures , how can I do this with node js server.

19th Apr 2021, 1:02 PM
Vaibhav Pawar
Vaibhav Pawar - avatar
2 Respostas
+ 5
you can use express Module and then res.attachment('path/to/audio.mp3'); This will work
21st Apr 2021, 4:47 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
+ 3
You Can Create A Simple Html File And Add video/audio with Source tag, And Then http.createServer willl done his job
21st Apr 2021, 4:28 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar