Skip to content

Releases: ConnectyCube/connectycube-js-sdk-releases

3.28.0

22 Jan 16:51
876bf7a
Compare
Choose a tag to compare

Added

Updated

  • the "ConnectyCube.data.update" method to have the ability to update by search_criteria;
  • the "ConnectyCube.data.list" method to get records by ID/IDs/filters instead of only filters;
  • DataSpec tests to support updated Custom Data API features.

3.27.3

23 Aug 12:32
5a5c84f
Compare
Choose a tag to compare

A new API to retrieve users by filters was added. REST API docs

const result = await ConnectyCube.users.getV2(params)

3.27.2

29 Jun 17:31
5a5c84f
Compare
Choose a tag to compare

Fixed:

  • [connectycube js] tests were fixed

3.27.0

23 Jun 13:21
5a5c84f
Compare
Choose a tag to compare

Added:

3.26.0

21 Apr 13:39
5a5c84f
Compare
Choose a tag to compare

Fixed:

  • The method ConnectyCube.chat.disconnect() calls with an error if the srteamManagment was disabled in the ConnectyCube config

Upgraded:

  • The "react-native-webrtc" was upgraded to version 111.0.0 (WebRTC M111)

3.25.1

14 Apr 14:05
5a5c84f
Compare
Choose a tag to compare

Conference API updates

  • New listeners:
const ConnectyCube = require('connectycube');

ConnectyCube.videochatconference.onRemoteTracksUpdatedListener = (session, user_id, mediaTrack, eventType) => {};
ConnectyCube.videochatconference.onDataChannelOpenedListener = (session, channelLabel) => {};
ConnectyCube.videochatconference.onDataChannelMessageListener = (session, user_id, data) => {};
  • New session methods:
const ConnectyCube = require('connectycube');

const session = ConnectyCube.videochatconference.createNewSession();

const textData = 'Joined Guest User'
// send message to data channel
session.sendData(textData)
    .then(() => {})
    .catch(() => {});

// get current user volume
session.getUserVolume()
    .then((volume) => {})
    .catch(() => {});

// get remote user volume
session.getRemoteUserVolume(userId)
    .then((volume) => {})
    .catch(() => {});

// switch media track
session.switchMediaTracks(mediaDeviceId)
    .then(() => {})
    .catch(() => {});
  • Deprecated session methods:
session.switchVideoinput(mediaDeviceId, callbacks); // use 'switchMediaTracks' instead

session.switchAudioinput(mediaDeviceId, callbacks); // use 'switchMediaTracks' instead

3.25.0

13 Apr 15:28
5a5c84f
Compare
Choose a tag to compare
3.25.0 Pre-release
Pre-release

Updated core WebRTC engine lib

3.24.1

23 Mar 14:31
5a5c84f
Compare
Choose a tag to compare

Broken package.json files were fixed for React Native and NativeScript platforms.

3.24.0

17 Mar 11:02
5a5c84f
Compare
Choose a tag to compare

Added:

  • API to create a guest session
const userCredentials = { guest: '1', full_name: 'Awesome Smith' };

ConnectyCube.createSession(userCredentials)
  .then((session) => {})
  .catch((error) => {});
  • API to send system messages via HTTP API
ConnectyCube.chat.message.createSystem(params);

3.23.0

02 Mar 11:40
5a5c84f
Compare
Choose a tag to compare

Updates:

  • [React Native] the "react-native-webrtc" was upgraded from v1.92.0 (Plan B) to v106.0.5 (Unified Plan);
  • executed "npm audit fix" to fix dependencies;
  • got rid of conditions that use the code of Plan B;

Fixes:

  • [React Native][p2p-videocalls] the session.startCall() method for Unified Plan was fixed;
  • [React Native][video-conference] replaced config.pc.addStream with config.pc.addTrack and config.pc.onaddstream with config.pc.ontrack in janus.umd.js.