srs+flv.js 直播

最近公司要搭建视频会议系统,在网上收集一些资料,

srs低延迟优化
listen 1935;
vhost defaultVhost {
gop_cache off;
queue_length 10;
min_latency on;
mr {
enabled off;
}
mw_latency 100;
tcp_nodelay on;
}

js低延迟优化参数
{
enableWorker: true,
enableStashBuffer: false,
stashInitialSize: 128,
isLive: true,
lazyLoad: false,
lazyLoadMaxDuration: 3 * 60,
azyLoadRecoverDuration: 30,
deferLoadAfterSourceOpen: false,
autoCleanupSourceBuffer: true,
autoCleanupMaxBackwardDuration: 3 * 60,
autoCleanupMinBackwardDuration: 2 * 60,
statisticsInfoReportInterval: 600,
fixAudioTimestampGap: false,
}

你可能感兴趣的:(srs+flv.js 直播)