Answer the question
In order to leave comments, you need to log in
How can I stream video on my local network so that I can watch it from a browser?
Tell me where to dig.
Let's say there are different devices on the local network: laptops, smartphones, etc.
A program is launched on one of the laptops (it needs to be developed), it plays video files and broadcasts them, and from all other devices using only a browser, videos can be viewed in real time.
Audio transmission is not required.
I roughly understand how to write a similar program if client applications were used instead of a browser, but this option is not suitable. Writing and using extensions for browsers is also not suitable.
Moreover, it is highly desirable to use UDP Multicast.
Answer the question
In order to leave comments, you need to log in
As mentioned above, ffmpeg + nginx and send it via HLS.
Or don't make a head and use the VLC console from the box)
If you understand how to develop a program so that it works with some application on devices, then you will not have problems. =)
You just need to make a web page and insert a video player there that will play the stream from your server, for example HLS. In the simplest case, it will be a static page in general, even a web application will not need any.
Well, on the server, for example, ffmpeg will be able to cut an arbitrary input stream into hls, only some kind of binding will need to be done to fit your needs. And if you google "ffmpeg live rtmp to hls" well, maybe there is something ready-made suitable.
Well, since you still need a web server, you can use this scheme: input stream -> ffmpeg -> rtmp stream -> nginx (+mod_rtmp) -> HLS -> web player
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question