Rate this page:

How to fine tune Video Recording

Voximplant functionality includes video recording. In order to start a recording, set the video parameter to true in the Call.record method.

Please note that we can record outbound video traffic only. But since each call can be controlled independently in VoxEngine, you can record both call parties by calling the record method of each call object in a VoxEngine session. As a result, two video files will appear.

You can use this tutorial to build a video recorder web app using our Web SDK within minutes.

Parameters

You can customize video sending by setting up the following. Please do it before the recording has started and don’t change the parameters during the recording, otherwise, the result may be unpredictable.

  • codec

Both VP8 and H.264 are supported, VP8 will be stored in WebM file format, while H.264 will be stored in mp4 file format. Set the H264first to true to choose it as the preferred codec for future recordings. To make changes in some certain calls use the same parameter H264first of call settings (in this case, the codec set in). To avoid future problems when building a conference, we recommend that every conference member send videos in the same codec.

  • bitrate

The maximum possible video bitrate for the end user device (in kbps) can be set via maxvideobitrate. It's recommended to set the same value for the maxvideobitrate in the call.startEarlyMedia. Note that we receive the exact bitrate that we send.

  • stereo

It’s possible to have two audio streams of the calls stored in different channels by specifying additional parameter in record settings:

call.record({video: true, stereo: true});

Learn more about the records prices, storage time and location on How to record call.

See the Voxengine and SDK code samples below.

Voxengine sample

Voxengine sample

SDK samples

SDK samples