文件名称:streamix:通过NodeJS流进行数据流传输和混合
文件大小:12KB
文件格式:ZIP
更新时间:2024-05-31 02:33:00
JavaScript
Streamix是一个Node.js(io.js)库,用于通过多种协议对数据进行流式传输和混合。 用法 需要您的Node脚本中的streamix模块: var mix = require ( '../libs/streamix' ) ; // for example 然后,您需要提供以下参数来处理流: var params = { inputs : [ 'protocol://path/to/input/stream1' , 'protocol://path/to/input/stream2' ] , output : 'protocol://path/to/output' , profile : 'name-of-profile' } 最后,只需调用带有params的mix : mix ( params ) ; 有关更多详细信息,请查看(WIP)和
【文件预览】:
streamix-master
----src()
--------profiles.js(138B)
--------index.js(371B)
----LICENSE(16KB)
----test()
--------text.js(300B)
--------audio.js(242B)
--------data()
----README.md(1KB)
----.gitignore(526B)
----index.js(44B)
----extras()
--------logo.png(2KB)
----package.json(721B)