github twilio/twilio-video.js 2.0.0-beta11

2.0.0-beta11 (June 12, 2019)

New Features

  • By default, twilio-video.js connects to your nearest signaling server, as determined by latency based routing. You can now override this behavior by using a new ConnectOptions flag called region. This will make sure that your signaling traffic will terminate in the specified region. (JSDK-2338)
  const { connect } = require('twilio-video');
  const room = await connect(token, {
    region: 'de1'
  });

This will guarantee that your signaling traffic will terminate in Germany. For other possible values
for region, please refer to this table. If you specify an invalid value for region, connect will raise a SignalingConnectionError:

  const { connect } = require('twilio-video');

  try {
    const room = await connect(token, {
      region: 'foo'
    });
  } catch (error) {
    assert.equal(error.code, 53000);
    assert.equal(error.message, 'Signaling connection error');
  }

Bug Fixes

  • Fixed a bug where Firefox Participants were not able to publish more than one LocalDataTrack after joining a Group Room. (JSDK-2274)
  • Fixed a bug where Firefox Participants sometimes lost their media connections when they tried to publish a LocalDataTrack in a Group Room. (JSDK-2256)
latest releases: 2.14.0-rc1, 2.13.0, 2.13.0-rc5...
21 months ago