我有通过 HTTP 提供给单个客户端的 mp4 流
如何将其广播给多个客户端?
我可以编写通过 HTTP 读取 MP4 流并复制到多个客户端的代码。
但是 MP4 流中是否有一些初始帧、标头?
可能是某些框架或现有服务器可以广播 mp4 流?
我有通过 HTTP 提供给单个客户端的 mp4 流
如何将其广播给多个客户端?
我可以编写通过 HTTP 读取 MP4 流并复制到多个客户端的代码。
但是 MP4 流中是否有一些初始帧、标头?
可能是某些框架或现有服务器可以广播 mp4 流?
Use VLC, it has nice streaming possibilities (VLC is for Video Lan Client, by the way).
Just fire up VLC, go to File->Stream..., select the source you want to distribute, choose e.g. http as method, transcode (or don't), and select the port to listen on. From there on, your clients can connect :)