Pexip

Pexip

Pexip, dubbed the scalable meeting platform, provides a virtualized video conferencing platform on all devices, and across traditionally incompatible technologies such as traditional video conferencing, Microsoft Skype for Business, and WebRTC in-browser video.

Integration steps

Callstats.io is supported in Pexip Infinity v12 onwards. You can integrate by using Pexip’s PexRTC API. Several callbacks can be used to call out callstats.io API:

PexRTC.event_newPC = function(pc, uuid, conf, call_type), where

  • pc: PeerConnection object
  • uuid: unique identifier of this call
  • conf: conference name
  • call_type: internal call type, may be ‘screen’ for screensharing, ‘audio_only’ for audio only.

PexRTC.event_event = function(pc, conf, ev), where:

  • pc: PeerConnection object
  • conf: conference name
  • ev: event; audioMute/audioUnmute/videoPause/videoResume/fabricTerminated

PexRTC.event_error = function(pc, conf, ev, err, sdp), where:

  • pc: PeerConnection object
  • conf: conference name
  • ev: the function in question
  • err: error from function
  • sdp: sdp in question, if relevant

The zip file contains an edited settings.js, which adds a scripts block (if you’re already using customisations, just add this scripts block to your existing customisations), and a csio.js file which is imported to make the above calls to the callstats.io API. This will need to be edited to make use of your personal identifiers in the callStats.initialize call.