v0.1.24
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
andgetSubscriber
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.
- Removed methods are
- 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
andunrecord
methods.- if the Stream Name is available for recording, you can create clips during an active stream using
record
and finish it usingunrecord
- if the Stream Name is available for recording, you can create clips during an active stream using
- Adds new
- 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.
- Closes #138:
- 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.
- Adds support to migrate connections.
Fixed
- Fixes "Record unavailable" error when trying to run record or unrecord.