Class SourcesEventListener

  • All Implemented Interfaces:
    EventListener

    public abstract class SourcesEventListener
    extends Object
    implements EventListener
    The EventListener for the events that are part of the Sources category.
    • Constructor Detail

      • SourcesEventListener

        public SourcesEventListener()
    • Method Detail

      • sourceCreated

        public void sourceCreated​(SourceCreated sourceCreated)
        A source has been created. A source can be an input, a scene or a transition.
        Parameters:
        sourceCreated - The received event.
        Since:
        4.6.0
        See Also:
        OBS WebSocket Documentation
      • sourceDestroyed

        public void sourceDestroyed​(SourceDestroyed sourceDestroyed)
        A source has been destroyed/removed. A source can be an input, a scene or a transition.
        Parameters:
        sourceDestroyed - The received event.
        Since:
        4.6.0
        See Also:
        OBS WebSocket Documentation
      • sourceVolumeChanged

        public void sourceVolumeChanged​(SourceVolumeChanged sourceVolumeChanged)
        The volume of a source has changed.
        Parameters:
        sourceVolumeChanged - The received event.
        Since:
        4.6.0
        See Also:
        OBS WebSocket Documentation
      • sourceMuteStateChanged

        public void sourceMuteStateChanged​(SourceMuteStateChanged sourceMuteStateChanged)
        A source has been muted or unmuted.
        Parameters:
        sourceMuteStateChanged - The received event.
        Since:
        4.6.0
        See Also:
        OBS WebSocket Documentation
      • sourceAudioDeactivated

        public void sourceAudioDeactivated​(SourceAudioDeactivated sourceAudioDeactivated)
        A source has removed audio.
        Parameters:
        sourceAudioDeactivated - The received event.
        Since:
        4.9.0
        See Also:
        OBS WebSocket Documentation
      • sourceAudioActivated

        public void sourceAudioActivated​(SourceAudioActivated sourceAudioActivated)
        A source has added audio.
        Parameters:
        sourceAudioActivated - The received event.
        Since:
        4.9.0
        See Also:
        OBS WebSocket Documentation
      • sourceAudioSyncOffsetChanged

        public void sourceAudioSyncOffsetChanged​(SourceAudioSyncOffsetChanged sourceAudioSyncOffsetChanged)
        The audio sync offset of a source has changed.
        Parameters:
        sourceAudioSyncOffsetChanged - The received event.
        Since:
        4.6.0
        See Also:
        OBS WebSocket Documentation
      • sourceAudioMixersChanged

        public void sourceAudioMixersChanged​(SourceAudioMixersChanged sourceAudioMixersChanged)
        Audio mixer routing changed on a source.
        Parameters:
        sourceAudioMixersChanged - The received event.
        Since:
        4.6.0
        See Also:
        OBS WebSocket Documentation
      • sourceRenamed

        public void sourceRenamed​(SourceRenamed sourceRenamed)
        A source has been renamed.
        Parameters:
        sourceRenamed - The received event.
        Since:
        4.6.0
        See Also:
        OBS WebSocket Documentation
      • sourceFilterAdded

        public void sourceFilterAdded​(SourceFilterAdded sourceFilterAdded)
        A filter was added to a source.
        Parameters:
        sourceFilterAdded - The received event.
        Since:
        4.6.0
        See Also:
        OBS WebSocket Documentation
      • sourceFilterRemoved

        public void sourceFilterRemoved​(SourceFilterRemoved sourceFilterRemoved)
        A filter was removed from a source.
        Parameters:
        sourceFilterRemoved - The received event.
        Since:
        4.6.0
        See Also:
        OBS WebSocket Documentation
      • sourceFilterVisibilityChanged

        public void sourceFilterVisibilityChanged​(SourceFilterVisibilityChanged sourceFilterVisibilityChanged)
        The visibility/enabled state of a filter changed
        Parameters:
        sourceFilterVisibilityChanged - The received event.
        Since:
        4.7.0
        See Also:
        OBS WebSocket Documentation
      • sourceFiltersReordered

        public void sourceFiltersReordered​(SourceFiltersReordered sourceFiltersReordered)
        Filters in a source have been reordered.
        Parameters:
        sourceFiltersReordered - The received event.
        Since:
        4.6.0
        See Also:
        OBS WebSocket Documentation