FLVstream重新包装为httpstream

我有基于http协议和node.js的mediaserver。 它使用ffmpeg从广播电脑接收任何flvstream,像这样(camcapture是内部控制台工具):

$ camcapture -f mpegts - | ffmpeg -i - -acodec copy -vcodec copy -f flv http://mediaserver/publish_url 

我想通过http restream这个flvstream给客户端。 我应该如何为每个新客户重新生成flv数据?

Interesting Posts