Enum MixEndReason
Why a mix layer ended.
public enum MixEndReason
Fields
Cleared = 5The layers were cleared in bulk through the server's in-process mixer clear, e.g. by a plugin.
Destroyed = 4The mixer was torn down, player destroyed, or the main track ended/stopped, how every layer still alive ends when auto-cleanup is off.
Error = 2The layer's source stream errored, the mixer removed it.
Finished = 0Played through to the end, only fires when auto-cleanup is on.
MainEnded = 3The main track ended, was stopped, or was replaced, NodeLink reports every main-track end reason through this member, only fires when auto-cleanup is on.
Removed = 1Stopped manually, e.g. via StopAsync(string, CancellationToken).
Unknown = 6A reason the library does not know, reported by a newer server.