Enum RecorderEvent.Type

    • Enum Constant Detail

      • RECORDING_STARTED

        public static final RecorderEvent.Type RECORDING_STARTED
        Indicates the start of a recording.
      • RECORDING_ENDED

        public static final RecorderEvent.Type RECORDING_ENDED
        Indicates the end of a recording.
      • SPEAKER_CHANGED

        public static final RecorderEvent.Type SPEAKER_CHANGED
        Indicates that the active speaker has changed. The 'audioSsrc' field indicates the SSRC of the audio stream which is now considered active, and the 'ssrc' field contains the SSRC of a video stream associated with the now active audio stream.
      • STREAM_ADDED

        public static final RecorderEvent.Type STREAM_ADDED
        Indicates that a new stream was added. This is different than RECORDING_STARTED, because a new stream might be saved to an existing recording (for example, a new audio stream might be added to a mix)
    • Method Detail

      • values

        public static RecorderEvent.Type[] 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 (RecorderEvent.Type c : RecorderEvent.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RecorderEvent.Type 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.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null