Skip to content

next-0.3.1-RC-1

Pre-release
Pre-release
Compare
Choose a tag to compare
@dubeyShivank dubeyShivank released this 29 Oct 00:29
· 6 commits to main since this release
e84dc75

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...next-0.3.1-RC-1