Skip to content

v0.1.24

Compare
Choose a tag to compare
@R-Delfino95 R-Delfino95 released this 03 Mar 22:43
· 189 commits to main since this release

Changelog

This is the published version, no new changelog available, this release includes everything present in v0.1.22 and v0.1.23.

Full v0.1.22 and v0.1.23 changelog:

Changed

  • [Breaking change] Removed get ICE servers logic, now it's returned directly from the Director getPublisher and getSubscriber methods.
    • Removed methods are getTurnServerLocation, setTurnServerLocation, getRTCConfiguration, getRTCIceServers
    • If you use a custom tokenGenerator, you should return the list of ICE servers too. Otherwise if you use the default Director response you are not going to have any issue.
  • Updated documentation related to new Director response param
  • Removed the x-conference-flag from the SdpParser module when it's simulcast.
  • Removed Axios dependency and used Fetch instead.

Added

  • Publisher module:
    • Closes #138:
      • Adds new record and unrecord methods.
        • if the Stream Name is available for recording, you can create clips during an active stream using record and finish it using unrecord
    • Adds publisher events.
      • Now the Publlisher module fires broadcastEvent. "active" means that the first viewer has been connected and "inactive" means that the last viewer disconnected from the stream.
  • Publisher and Viewer modules:
    • Adds support to migrate connections.
      • If a "migrate" event comes from the Signaling module, it reconnects in parallel and replaces the current connection.

Fixed

  • Fixes "Record unavailable" error when trying to run record or unrecord.