Enum Recording.OutputMode

    • Enum Constant Detail

      • COMPOSED

        public static final Recording.OutputMode COMPOSED
        Record all streams in a grid layout in a single archive

        public static final Recording.OutputMode COMPOSED_QUICK_START
        Works the same way as COMPOSED mode, but the necessary recorder service module will start some time in advance and won't be terminated once a specific session recording has ended. This module will remain up and running as long as the session remains active.

        • Pros vs COMPOSED: the process of starting the recording will be noticeably faster. This can be very useful in use cases where a session needs to be recorded multiple times over time, when a better response time is usually desirable.
        • Cons vs COMPOSED: for every session initialized with COMPOSED_QUICK_START recording output mode, extra CPU power will be required in OpenVidu Server. The recording module will be continuously rendering all of the streams being published to the session even when the session is not being recorded. And that is for every session configured with COMPOSED_QUICK_START.
    • Method Detail

      • values

        public static Recording.OutputMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Recording.OutputMode c : Recording.OutputMode.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Recording.OutputMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null