Skip to content

Release v0.3.1

Compare
Choose a tag to compare
@Santiago-Souto Santiago-Souto released this 29 Oct 16:41
· 6 commits to main since this release
5442473

What's Changed

  • Fix build issue with Vite

❗Deprecations/ Breaking changes ❗

  • The mediaElement property in the constructor of the View class has now been deprecated since it does not work with DRM based workflows. It will be removed completely in a future release. To ensure that your players continue to work, please migrate the setting of the mediaElement to either the active or the track event.

You do not need to change your view class constructor

const millicastView = new View(null, tokenGenerator, null /*a non null value will lead to a console warning*/, autoReconnect)

And then, carry out the assignment on a track event for non-DRM based workflows.

millicastView.on('track', (event) => {
    mediaElement.srcObject = event.streams[0]
});

If your workflow incorporates DRM, please supply the videoElement in the millicastView.configureDRM(options) call, and the SDK will manage the rest.

Full Changelog: v0.3.0...v0.3.1