github twilio/twilio-video.js 2.0.0-beta11

latest releases: 2.28.2-rc2, 2.29.0-rc.1, 2.29.0-preview.1...
5 years ago

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)

Don't miss a new twilio-video.js release

NewReleases is sending notifications on new releases.