github savonet/liquidsoap v2.0.2
Liquidsoap 2.0.2

latest releases: rolling-release-v2.3.x, v2.3.0-rc1, v0.3.8...
2 years ago

This is the second bugfix release of the liquidsoap 2.0.x branch. It contains important fixes and a couple of enhancements. Update is recommended with a little bit of testing before.

Noticeable new features are:

  • We now show highlighted code excerpts on errors, which should help finding out which part of a script are not working
  • We export the last_metadata of a source, which can be used to make transitions between sources easier.

Noticeable bug fixes are:

  • Fixed a segfault in ocaml-lame. Make sure to install version 0.3.5
  • Fixed a memory leak when using muxing operators.
  • Fixed last metadata not showing up in some switches or fallback
  • Fixed input.rtmp deadlocking on shutdown
  • Fixed %ffmpeg copy encoder crashing when switching sources.

We believe that this release is bringing liquidsoap 2.0.x to a great level of stability and have worked on it with a couple of partners implementing it for their streaming systems. We suggest to upgrade whenever possible. However, because of the changes in metadata behavior with switches, it might be good to do some minimal testings beforehand. If anything, though, the change in behavior should bring liquidsoap back where most users would expect it to be.

As usual, we want to warmly thank all users, bug reporters and contributors for their invaluable help and patience working with us on this release!

Full Changelog:

2.0.2 (28-12-2021)

New:

  • Show code excerpts on errors (#2086)
  • Added on_get_ready callback to sources, to be
    executed after a source's has initialized.
  • Added flush_and_skip telnet command to request.dynamic
    to empty the request's queue before skipping the current
    track, forcing a full reload.
  • Added last_metadata method on sources to return the
    last metadata produced by the source.

Fixed:

  • Fixed ffmpeg copy encoder crash when switching between
    streams.

  • Fixed unbound buffer in muxing operators (#2054)

  • Return correct positions when parsing strings (#2095)

  • Deadlock when shutting down with input.rtmp (#2089)

  • Add timeout to srt operations (#2082)

  • Fixed request.queue queue telnet command returning
    nothing (#2088)

  • Fixed single quotes being escaped in json stringify.
    (#2120)

  • Fixed frame caching issues when no initial break was
    present in the memoized frame. (#2109. AzuraCast/AzuraCast#4825)

  • Fixed replay_metadata not replaying metadata from active sources
    (#2109)

    Note:
    For source compilation, please use the liquidsoap-2.0.2-1.tar.bz2 tarball. The liquidsoap-2.0.2.tar.bz2 tarball will be replaced by this one shortly.

Don't miss a new liquidsoap release

NewReleases is sending notifications on new releases.