【文件属性】:
文件名称:RTMP视频直播方案H5RtmpClient.zip
文件大小:2.53MB
文件格式:ZIP
更新时间:2022-08-07 00:33:38
开源项目
用Html5技术播放rtmp视频直播流的方案,采用本人开发的csharprtmp作为服务器,Broadway作为视频解码方案,speex.js作为音频解码方案,emscripten作为编译器的创新技术,需要浏览器支持AudioContext,WebSocket,webgl(可选),TypedArray,等H5功能支持才可以正常使用。csharprtmp已经上传至githubFlash 客户端示例代码:var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
h264Settings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_3);
ns.videoStreamSettings = h264Settings;
var mic:Microphone = Microphone.getMicrophone(-1);
mic.codec = SoundCodec.SPEEX;
mic.framesPerPacket = 1;
标签:H5RtmpClient