Liquidsoap
  1. Liquidsoap
  2. LS-404

De-entangle reset_encoder and metadata...

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-beta3
    • Fix Version/s: 1.0
    • Component/s: Liquidsoap
    • Labels:
      None

      Description

      There is a historic confusion in the encoding process. Because we were focused on ogg and mp3 encoder do not need to be reset, we have an implicit semantics confusion between {{reset_encoder}} functions and new metadata: each time a new metadata passes, we call {{reset_encoder}}...

      This is not correct. For instance, when icecast fails to send and reset the encoder, this is a real reset that should not be treated as for metadata updates.

      Now that we have many formats, we cannot afford anymore this confusion. For intance, WAV and external encoded formats will need a real reset when icecast restarts the connection but do not reset on new metadata..

      Therefore, for 1.0, we should have a clear distinction between updating metadata, which may need to restart the encoder in some cases specific to the encoder and a real reset, which should be unconditional.

        Activity

        Samuel Mimram
        made changes -
        Field Original Value New Value
        Affects Version/s 1.0 beta [ 10311 ]
        Affects Version/s 1.0.beta+svn [ 10312 ]
        Romain Beauxis
        made changes -
        Affects Version/s 1.0.0-beta3 [ 10478 ]
        Affects Version/s 1.0 beta [ 10311 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Anonymous
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: