Package nl.harm27.obs.websocket.listener
Class StreamingEventListener
- java.lang.Object
-
- nl.harm27.obs.websocket.listener.StreamingEventListener
-
- All Implemented Interfaces:
EventListener
public abstract class StreamingEventListener extends Object implements EventListener
The EventListener for the events that are part of the Streaming category.
-
-
Constructor Summary
Constructors Constructor Description StreamingEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callEvent(BaseEvent baseEvent)
List<EventType>
getSupportedEvents()
void
streamStarted(StreamStarted streamStarted)
Streaming started successfully.void
streamStarting(StreamStarting streamStarting)
A request to start streaming has been issued.void
streamStatus(StreamStatus streamStatus)
Emitted every 2 seconds when stream is active.void
streamStopped(StreamStopped streamStopped)
Streaming stopped successfully.void
streamStopping(StreamStopping streamStopping)
A request to stop streaming has been issued.
-
-
-
Method Detail
-
streamStarting
public void streamStarting(StreamStarting streamStarting)
A request to start streaming has been issued.- Parameters:
streamStarting
- The received event.- Since:
- 0.3
- See Also:
- OBS WebSocket Documentation
-
streamStarted
public void streamStarted(StreamStarted streamStarted)
Streaming started successfully.- Parameters:
streamStarted
- The received event.- Since:
- 0.3
- See Also:
- OBS WebSocket Documentation
-
streamStopping
public void streamStopping(StreamStopping streamStopping)
A request to stop streaming has been issued.- Parameters:
streamStopping
- The received event.- Since:
- 0.3
- See Also:
- OBS WebSocket Documentation
-
streamStopped
public void streamStopped(StreamStopped streamStopped)
Streaming stopped successfully.- Parameters:
streamStopped
- The received event.- Since:
- 0.3
- See Also:
- OBS WebSocket Documentation
-
streamStatus
public void streamStatus(StreamStatus streamStatus)
Emitted every 2 seconds when stream is active.- Parameters:
streamStatus
- The received event.- Since:
- 0.3
- 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
-
-