Skip to content

Releases: millicast/millicast-sdk

v0.1.9

09 Aug 21:04
8df117a

Choose a tag to compare

Changelog

Added

  • Director module:
    • .setLiveDomain() and .getLiveDomain() to set and get Director websocket domain response.
  • PeerConnection module:
    • .setTurnServerLocation() and .getTurnServerLocation() to set and get from where to get TURN server.
  • StreamEvents module:
    • setEventsLocation() and getEventsLocation() to set and get from where to get TURN server.

v0.1.8

26 Jul 14:14
d0575ee

Choose a tag to compare

Changelog

Added

  • .getRTCPeerConnection() to BaseWebRTC.

Changed

  • Closes #81
    • Changes .getPublisher and .getSubscriber params, now receives an object param with all the available options.
    • It's backward compatible, you can use the older params as always.
    • Changes documentation with examples to option param.
  • Closes #83
    • Removes jwtDecoded from Director response.
    • Moves JWT decoding to Publisher.
    • Adds recording availability validation from token using decoded JWT.

Fixed

  • Fixes .updateBitrate() in Firefox browser.

v0.1.7

25 Jun 20:27
8d25f9b

Choose a tag to compare

Changelog

Added

  • Recording option in Publish .connect() method.
    • If the record option is not provided, it will use the default Token configuration.
  • Return decoded JWT in Director response.

Fixed

  • Fixes documentation for getCapabilities() method

v0.1.6

18 Jun 14:29
23171ef

Choose a tag to compare

Changelog

Added

  • Closes #72: Added peerConfig into View and Publish .connect() options.
    • You can add your own configuration for instance RTCPeerConnection. If the iceServers option is not present, it will use ours.

Changed

  • Closes #71: Separate .getRTCPeer() into two methods, one for get and other for create it.
    • .getRTCPeer()
    • .createRTCPeer()
  • Removes bundlePolicy when creating a RTCPeerConnection.
  • Removes webrtc-adapter dependency.
  • Removes legacy options when creating a RTCPeerConnection offer.
  • Changes .addTrack() to .addTransceiver() when adding new MediaStreamTrack to peer.

Fixed

  • Fixes disableAudio and disableVideo options in Publish module.
  • Fixes updateBitrate, stop working in last releases.

v0.1.5

07 Jun 15:49
b496546

Choose a tag to compare

Changelog

Changed

  • #66 Refactor of PeerConnectionStats, providing all inbounds/outbounds attached and basic information of RTC Candidate pair.

Fixed

  • Fixes #65: Audio not working with H.264 codec in Safari.
    • Multiopus was always enabled, now is only enabled when the publisher attach a MediaStream with more than 2 audio channels.

v0.1.4

27 May 17:59
960850f

Choose a tag to compare

Changelog

Added

  • #61 PeerConnection Stats with basic information parsed from RTCPeerConnection object.

Changed

  • Closes #62: Update docs in Millicast Publisher and Viewer demos.
  • Update README with basic example of Viewer implementation.

Fixed

  • Fixes #59: Audio not working with H.264 codec

v0.1.3

20 May 17:58
7ffebdd

Choose a tag to compare

Changelog

Changed

  • Improve NPM package to publish only SDK files.

Fixed

  • #57 Fix auto-reconnect feature to emit event when reconnection failed with cause of failure.

v0.1.2

19 May 18:36

Choose a tag to compare

Changelog

Added

  • #55 Add reconnect event with next interval
  • #56 MediaElement could be provider in viewer to attach MediaStream

Changed

  • LICENSE updated.
  • Github Action Release workflow.
  • Improve NPM metadata with description, keywords and README.

Fixed

  • #52 Keep active MediaStreamTracks in reconnection after calling replaceTrack.

v0.1.1

19 May 18:15
047ce29

Choose a tag to compare

Broken release DO NOT USE THIS VERSION

v0.1.0

14 May 19:13

Choose a tag to compare

Changelog

First public release to NPM.

Last changes

  • Firefox getCapabilities
    • We add manually getCapabilities for Firefox because RTCRtpSender.getCapabilities does not work
    • Support VP8, VP9, H.264 and Opus
  • Firefox connectionState
  • Remove StreamType from Director.getSubscriber
  • Add get and set Endpoint in Director
    • Let you choose the API endpoint of director
    • Director.getEndpoint()
    • Director.setEndpoint('https://other-url.com')
  • Auto-reconnect feature completed
    • Incremental intervals (powers of 2) that cannot be edited by users.
    • BaseWebRTC class where all common functions are placed (stop, reconnect, isActive, etc).
    • Now Publish.broadcast is Publish.connect to keep the same API between Publish and View.
  • Refactor of names
    • All Millicast prefixes are deleted from all classes and attributes.
    • MillicastWebRTC renamed to PeerConnection