VideoRTC.js

Release history and API documentation for every version.

Latest release 4.5.0 2026-11-16
Open documentation

Versions

Changelog

4.5.0 2026-11-16 Docs →

Added

  • Added facingMode option to the splitClient module
  • Added media parameter ({ audio, video }) to the onIncomingCall event of the videoCall module to know the type of the incoming call
  • Added optional media parameter ({ audio, video }) to the call method of the videoCall module to choose the call type (e.g. audio-only calls). Audio and video by default. acceptCall uses the call type chosen by the caller

4.4.0 2026-06-02 Docs →

Added

  • Added onLocalScreenSharingClosedViaBrowser event to SplitClient, SplitAgent and VideoRoom to detect when screensharing is closed via the native browser button.
  • Added support for injecting a media stream into the Videoroom module.
  • Added refreshDevices method in the SplitClient module.
  • Added onScreenSharingEndedByRestriction event to VideoRoom to inform when screensharing type is not allowed
  • Added ultra quality to videoRoom and videoCall modules and adjusted bitrate values
  • Added facingMode option to the videoRoom module

Fixed

  • onAcceptedAudio not firing on sequential calls in splitClient module

4.3.0 2024-07-04 Docs →

Added

  • Added roomId optional parameter when creating a Videoroom
  • Added frameRate as streamOption in the following modules: splitClient, splitAgent, videoCall, videoMail and videoRoom

Changed

  • Modified Videoroom module for requesting getDevices only when video is enabled
  • The selected video deviceId is now captured from the stream settings

Fixed

  • Solved iOS orientation for recordings

4.2.0 2023-10-03 Docs →

Added

  • Added audio output devices detection
  • Added replaceAudio, replaceAudioOutput and listDevices methods in the SplitClient

Changed

  • Adapted replaceVideo method for exact id selection

4.1.0 2023-07-18 Docs →

Added

  • Added notify method (via DataChannel) to the Videocall module
  • Added possibility to enable recording in the Videocall module
  • Added two new events (onDestroyed and onError) when creating the connection to the VG

Fixed

  • Added timestamp prefix for SPLIT recordings to ensure that recording fragments are uniques

4.0.0 2022-01-12 Docs →

Changed

  • Aligned to the new generation of VideoGateway v5.X
  • Replaced 'janus' to 'rtcgw' in all messages sent to the gateway

3.5.0 2021-12-16 Docs →

Added

  • Added replaceVideo action for both Videocall and Videoroom modules

3.4.1 2021-04-06 Docs →

Fixed

  • Audio loss in iOS after camera switch in the webclient

3.4.0 2021-02-04 Docs →

Added

  • Added a new event onReadyLocalStream on the Videoroom module
  • Added video support in the SIP module
  • Added replaceVideo action for SPLIT modules
  • Added fwvga resolution for SPLIT modules

Changed

  • Aligned to the new VideoGateway v4.3.0
  • Improved onJoined and onVideoClosed events on the SPLIT Agent module

Fixed

  • Added timer internally to avoid video flashing

3.3.0 2020-03-25 Docs →

Added

  • Added a new event onSipMessage on the SPLIT Client to receive SIP Messages
  • Added a new streamOption resolution in all modules where video is used
  • Added a new className is-local-video in all local video elements

Changed

  • Aligned to the new VideoGateway v4.2.0

3.2.0 2019-11-28 Docs →

Added

  • Added new events on the Videocall and SPLIT modules to detect slow links with the remote video

3.1.0 2019-10-21 Docs →

Added

  • Added device field in the Opaque ID object
  • Added support for Safari >= 12.1

Changed

  • Aligned to the new VideoGateway v4.1.0

Fixed

  • Unique IDs is initialized on each attach to the VideoGateway
  • Fixed an issue with recordings when transferring a SPLIT video call

3.0.0 2019-03-12 Docs →

Added

  • Added API Secret parameter in the VideoGateway connection
  • Added account parameter as an option

Changed

  • Aligned the library to the new generation of VideoGateway v4.X
  • Updated webrtc-adapter version release to 6.4.8

Fixed

  • Fixed stopped event in the VideoMail module
  • Fixed Videocall: Now, it's possible to hangup and call another peer without having to register again

2.5.1 2019-02-01 Docs →

Added

  • Added sdpSemantics flag plan-b value until the Unified Plan SDP is used

Fixed

  • Fixed compatibility of Videocall with Chrome72+

2.5.0 2018-09-14 Docs →

Added

  • Added functionality to work with VideoGateway in multiple mode

2.4.0 2018-08-02 Docs →

Added

  • Added possibility to add custom SIP headers in the SplitClient module
  • Added setMode and toggleAudioRemote methods for Scalable SPLIT
  • Added onRemoteStreamReady event in the Videocall module

2.3.0 2018-07-02 Docs →

Added

  • Added SIP module in the library

Changed

  • Updated README notes

2.2.1 2018-06-08 Docs →

Fixed

  • Fixed compatibility of modules with Firefox60+

Changed

  • Updated webrtc-adapter version release to 6.2.1

2.2.0 2018-05-15 Docs →

Added

  • Added Detect module in the library
  • Added EchoTest module in the library
  • Added ScreenSharing and DataChannel features in the Videoroom module

2.1.0 2018-01-16 Docs →

Added

  • Added videoStream and videoEnabled option parameters in the SplitAgent module
  • Added onReadyLocalAudio, onAcceptedData and onScreensharingClosed events in the SplitClient module
  • Added onAcceptedData and onReadyLocalStream events in the SplitAgent module
  • Added a mechanism that guarantees the sending of files through the Datachannel
  • Added onFileTransferOk and onFileTransferKo events in the modules that use the Datachannel
  • Added startScreensharing and stopScreensharing actions in the SplitClient module
  • Added notify method in the following modules: SplitClient and SplitAgent
  • Added Safari iOS 11 support in the SplitClient module (Audio mode)

Changed

  • Updated recording mode in the SPLIT modules

Fixed

  • Fixed the use of the debug parameter at library level

2.0.0 2017-10-03 Docs →

Added

  • Added a new module: Videocall
  • Added audioStream and videoStream parameters in the SplitClient module
  • Added possibility of sending any Custom MIME Type in the DataChannel
  • Added config parameter in the getDevices method

Changed

  • Updated webrtc-adapter version release to 4.2.1
  • Updated janus.nojquery.js version release to 0.2.4
  • Updated options object in the following modules: SplitAgent, SplitClient, VideoMail and Videoroom

1.1.0 2017-04-17 Docs →

Added

  • Added VoiceProcessor feature in the Videoroom module
  • Added disconnect() method for destroy a session with the VideoGateway
  • Added closeUsecase() method for close a use case with the VideoGateway (All usecases)
  • Added download link of VideoRTC Screensharing extension for Chrome
  • Added videoRate and screenRate parameters in the call() method (Split Client)
  • Added timestamp in Videomail messages to achieve multiple records with the same id/name

Changed

  • Updated webrtc-adapter version release to 3.2.0
  • Updated janus.nojquery.js external dependence