Skip to content

Releases: millicast/millicast-sdk

Release v0.3.2

30 Oct 19:24
092fda1
Compare
Choose a tag to compare

What's Changed

  • The mediaElement variable was mistakenly not used anymore after adding the deprecation warning. This release allows to use the mediaElement once again. However note that it will be removed in a future version.

Note: If you want to use DRMs, you cannot use this property.

Release v0.3.1

29 Oct 16:41
5442473
Compare
Choose a tag to compare

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

next-0.3.1-RC-1

29 Oct 00:29
e84dc75
Compare
Choose a tag to compare
next-0.3.1-RC-1 Pre-release
Pre-release

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

Release v0.3.0

28 Oct 04:33
ada599b
Compare
Choose a tag to compare

What's Changed

Features

  • Added initial DRM support.
  • A new asynchronous event has been added on the viewer, error . Viewers can subscribe to this event using the following snippet of code to handle error scenarios.
viewer.on('error' , (err) => {
    console.error(err);
});

Fixed

  • The SDK will now throw an exception if the publisher or viewer is initialized with both disableAudio and disableVideo are set to true
  • addRemoteTrack() now checks for the mid of the track and manages it instead of throwing an exception.

❗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.2.1...v0.3.0

next-0.3.0-RC-12

24 Oct 04:17
9d54c92
Compare
Choose a tag to compare
next-0.3.0-RC-12 Pre-release
Pre-release

What's Changed

  • fix: no video in multi-source stream when main source id is not null by @vincentsong in #465

Full Changelog: next-0.3.0-RC-11...next-0.3.0-RC-12

next-0.3.0-RC-11

22 Oct 06:13
6af9c59
Compare
Choose a tag to compare
next-0.3.0-RC-11 Pre-release
Pre-release

What's Changed

Full Changelog: next-0.3.0-RC-10...next-0.3.0-RC-11

next-0.3.0-RC-10

18 Oct 06:02
e16c278
Compare
Choose a tag to compare
next-0.3.0-RC-10 Pre-release
Pre-release

What's Changed

  • Call subscribe again when there is no cached DRM profile by @vincentsong in #456

Full Changelog: next-0.3.0-RC-9...next-0.3.0-RC-10

next-0.3.0-RC-9

27 Sep 05:09
9a39d65
Compare
Choose a tag to compare
next-0.3.0-RC-9 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: next-0.3.0-rc-8...next-0.3.0-RC-9

next-0.3.0-rc-8

26 Sep 00:19
ce98149
Compare
Choose a tag to compare
next-0.3.0-rc-8 Pre-release
Pre-release

What's Changed

*Exposed DRM option target latency

Full Changelog: next-0.3.0-rc-7...next-0.3.0-rc-8

next-0.3.0-rc-7

24 Sep 06:00
f08ae97
Compare
Choose a tag to compare
next-0.3.0-rc-7 Pre-release
Pre-release

Update TS definitions for DRM functions