github twilio/twilio-video.js 1.6.0

latest releases: 2.8.2-rc1, 2.28.2-rc1, 2.28.1...
6 years ago

1.6.0 (October 24, 2017)

New Features

  • Added DataTrack support in Group Rooms. Previously, DataTracks only worked in
    Peer-to-peer Rooms. Now they work in both. Consequently, the "experimental"
    warning has been removed.

  • Added LocalDataTrackOptions. These options allow you to configure the
    maxPacketLifeTime, maxRetransmits, and ordered properties of a
    LocalDataTrack's underlying RTCDataChannel(s).

  • Added "trackPublicationFailed" and "trackPublished" events to the
    LocalParticipant. Previously, if you failed to publish a LocalTrack when
    connecting to a Room, there was no API to discover what went wrong. Now, if
    you fail to publish a LocalTrack at connect-time—for example, due to a codec
    mismatch or an invalid Track name—we will raise a "trackPublicationFailed" on
    the LocalParticipant with an informative error. Similarly, if publication
    succeeds, we will raise a "trackPublished" event with the resulting
    LocalTrackPublication.

  • Added a new top-level boolean property, isSupported, that indicates whether
    or not the browser/environment/platform currently running twilio-video.js
    contains the necessary APIs (for example, WebRTC) to participate in video
    chats. Depending on how you use twilio-video.js, you can use one of the
    methods below to access it:

    // Option 1: Using `require`
    const { isSupported } = require('twilio-video');
    
    // Option 2: Using browser global
    const { isSupported } = Twilio.Video;

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

NewReleases is sending notifications on new releases.