1 Star 0 Fork 0

大熊 / telepresence

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Support_Tips.md 3.23 KB
一键复制 编辑 原始数据 按行查看 历史
Mamadou DIOP 提交于 2015-08-18 20:35 . -

1. Lowering CPU

1.1 Avoid audio resampling

To avoid audio resampling, the SIP clients connecting to a bridge have to use a codec with the sample rate, channels and bits per sample as the "pivot settings". For more information, check here.
tip: In you configuration file, enable codecs with same settings as the pivot.

1.2 Only record sessions if needed

Do not enable recording if it’s not important to you or use *.avi container which consume less CPU than *.mp4 (because of AAC encoder from libfaac).

1.3 Use common video codec

All SIP clients with the same video codec will share a single encoder. Try to use common video codec for all clients. For example, if you have two clients, A and B, with A supporting both H.264 and VP8 and B only H.264 then, you should make sure that A will offer H.264 with highest priority. For more information, check here.
tip: In your configuration file, enable a single video codec if you cannot control the SIP clients.

1.4 Use 2d audio mixing

Enable 2D audio mixing instead of 3D.

1.5 Lower mixed video size and fps

If you have a weak CPU then, consider using a reasonable video size (e.g. VGA) and fps (- 30).

1.5 Multi-threading and ASM

Make sure to enable YASM and pthread when building FFmpeg, x264 and VP8.

2. Lowering bandwidth

  • Use "slow" motion rank (see here)
  • Use small mixed video size (see here)
  • Set the maximum upload and download bandwidth (see here)
  • Use small video frame rate (see here)

tip: To test your available bandwidth, we recommend http://www.speedtest.net/.
tip: To check bandwidth usage, we recommend iftop.

3. Improving audio quality

  • Use Opus (or G.722) audio codec if supported by the SIP clients (see here).
  • Avoid audio up-sampling and down-sampling (see here).
  • If the "pivot settings" use a sample rate (SR) equal to S then, try to use codecs with a SR equal to "S << n" or "S >> n".

4. Improving video quality

  • Use Google Chrome as SIP client (check our WebRTC demo client at http://conf-call.org/).
  • Enable "Zero-Artifacts" feature (see here and here)
  • Use a client supporting something close to 16/9 video size to avoid stretching issues
  • Avoid video up-sampling and down-sampling

5. Lowering recorded video file size

--This section intentionally left blank--

1
https://gitee.com/yumin11522/telepresence.git
git@gitee.com:yumin11522/telepresence.git
yumin11522
telepresence
telepresence
master

搜索帮助