Package nl.harm27.obs.websocket.listener
Class SourcesEventListener
- java.lang.Object
-
- nl.harm27.obs.websocket.listener.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 Summary
Constructors Constructor Description SourcesEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callEvent(BaseEvent baseEvent)
List<EventType>
getSupportedEvents()
void
sourceAudioActivated(SourceAudioActivated sourceAudioActivated)
A source has added audio.void
sourceAudioDeactivated(SourceAudioDeactivated sourceAudioDeactivated)
A source has removed audio.void
sourceAudioMixersChanged(SourceAudioMixersChanged sourceAudioMixersChanged)
Audio mixer routing changed on a source.void
sourceAudioSyncOffsetChanged(SourceAudioSyncOffsetChanged sourceAudioSyncOffsetChanged)
The audio sync offset of a source has changed.void
sourceCreated(SourceCreated sourceCreated)
A source has been created.void
sourceDestroyed(SourceDestroyed sourceDestroyed)
A source has been destroyed/removed.void
sourceFilterAdded(SourceFilterAdded sourceFilterAdded)
A filter was added to a source.void
sourceFilterRemoved(SourceFilterRemoved sourceFilterRemoved)
A filter was removed from a source.void
sourceFiltersReordered(SourceFiltersReordered sourceFiltersReordered)
Filters in a source have been reordered.void
sourceFilterVisibilityChanged(SourceFilterVisibilityChanged sourceFilterVisibilityChanged)
The visibility/enabled state of a filter changedvoid
sourceMuteStateChanged(SourceMuteStateChanged sourceMuteStateChanged)
A source has been muted or unmuted.void
sourceRenamed(SourceRenamed sourceRenamed)
A source has been renamed.void
sourceVolumeChanged(SourceVolumeChanged sourceVolumeChanged)
The volume of a source has changed.
-
-
-
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
-
callEvent
public final void callEvent(BaseEvent baseEvent)
- Specified by:
callEvent
in interfaceEventListener
-
getSupportedEvents
public final List<EventType> getSupportedEvents()
- Specified by:
getSupportedEvents
in interfaceEventListener
-
-