Skip to content

2nd beta version

Pre-release
Pre-release

Choose a tag to compare

@emilsas emilsas released this 09 Apr 14:33
· 636 commits to main since this release

Changelog

  • Documentation

    • All modules and events are documented with JS-docs, there are instructions in the README file of how to run it.
  • MillicastLogger

    • Now we can set logger level in the browser console, if the developer exposes MillicastLogger to a window var or if the developer uses the bundled version of the SDK. You can refer to examples in SDK documentation.
    • All logged objects are evaluated at “log time” and printed with current values.
    • We removed Sentry from the project and we extend to developers the possibility to implement their own handler to send logs to own services.
    • You can get the logger history form current session in the browser besides the logger level set. If MillicastLogger is exposed, you could access MillicastLogger.getHistory() and you’ll get all logs from TRACE level.
    • By default, the logger history will store the last 10,000 logs. Also this setting could be changed using .setHistoryMaxSize()
  • MillicastStreamEvents

    • This new module refers to events received via events’ WebSockets, nowadays the user count event.
    • There is an example in documentation of how to add a custom listener on user count changes and also the publisher demo implements a listener to show active viewers next to LIVE badge.
  • General refactor of current modules

    • Syntax refactor of all modules to comply with the current version of ECMAScript (ES11).
    • We refactor MillicastPublish & MillicastView modules to stop using MillicastDirector inside their own implementation. It’s more convenient when the developer wants to have their own way of connection path acquisition but continue using basic modules to publish and subscribe to streams.