Releases: millicast/millicast-sdk
next-0.3.3-RC-1
What's Changed
- fix: Updated DRM SDK which disabled debug logs by default by @vincentsong in #474
- Fix Inconsistencies with disableVideo/disableAudio by @juanpiquerez in #475
- Fix the acceptable value types for sourceId to ensure consistency. by @snoh666 in #476
- v0.3.3 by @dubeyShivank in #481
New Contributors
Full Changelog: v0.3.2...next-0.3.3-RC-1
Release v0.3.2
What's Changed
- The
mediaElement
variable was mistakenly not used anymore after adding the deprecation warning. This release allows to use themediaElement
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
What's Changed
- Fix build issue with Vite
❗Deprecations/ Breaking changes ❗
- The
mediaElement
property in the constructor of theView
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 theactive
or thetrack
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
What's Changed
- Fix build issue with Vite
❗Deprecations/ Breaking changes ❗
- The
mediaElement
property in the constructor of theView
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 theactive
or thetrack
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
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 theView
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 theactive
or thetrack
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
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
What's Changed
- bugfix: added default events into signaling service by @vincentsong in #462
- Update to RC-11 by @dubeyShivank in #463
Full Changelog: next-0.3.0-RC-10...next-0.3.0-RC-11
next-0.3.0-RC-10
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
What's Changed
- Fix for subscriber token not set in getSubscriber's response by @adamallaf in #447
- Bump RC version by @Santiago-Souto in #448
New Contributors
- @adamallaf made their first contribution in #447
Full Changelog: next-0.3.0-rc-8...next-0.3.0-RC-9