[Freeswitch-users] Video Conferencing freezing and lag in v1.8 and master

Peter Baines (lists) lists at pbaines.com
Thu Sep 7 17:23:37 UTC 2017


Hello,

I'm trying to get a simple video conference between two endpoints. I'm
constantly seeing freeze and lag but I don't see any issues around
CPU/memory/network that may cause this, has anyone come across something
similar?



I do notice in the debug log it keeps changing to large resolutions: e.g.

VPX reset encoder picture from 352x288 to 720x1280 2048 BW

Is there away to define the max resolution ?




These are the current settings I'm using, in vars.xml I have:

  <X-PRE-PROCESS cmd="set" data="rtp_video_max_bandwidth_in=2mb"/>
  <X-PRE-PROCESS cmd="set" data="rtp_video_max_bandwidth_out=2mb"/>


This is the profile from conference.conf.xml (tried both transcode and mux):

    <profile name="default">
      <param name="domain" value="$${domain}"/>
      <param name="rate" value="8000"/>
      <param name="channels" value="2"/>
      <param name="interval" value="20"/>
      <param name="energy-level" value="0"/>
      <param name="caller-id-name" value="$${outbound_caller_name}"/>
      <param name="caller-id-number" value="$${outbound_caller_id}"/>

      <param name="comfort-noise" value="false"/>
      <param name="conference-flags" value="minimize-video-
encoding|mintwo|manage-inbound-video-bitrate" />
      <param name="video-mode" value="mux"/>
      <param name="video-layout-name" value="2x1"/>
      <param name="video-canvas-size" value="320x240"/>
      <param name="video-canvas-bgcolor" value="#FFA500"/>
      <param name="video-layout-bgcolor" value="#800080"/>

      <param name="video-codec-bandwidth" value="2mb" />
      <param name="video-fps" value="10" />
      <param name="video-quality" value="1" />
      <param name="video-kps-debounce" value="5000" />
    </profile>


The dialplan bridges like:

<action application="set" data="video_use_dedicated_encoder=true"/>
<action application="conference" data="bridge:${uuid}@default:
sofia/from_opensips/${destination_number}@${domain}+flags{mintwo}" />


Regards,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170907/b1c86455/attachment.html>


More information about the FreeSWITCH-users mailing list