Class GetStreamingStatus.Response
- java.lang.Object
-
- nl.harm27.obswebsocket.api.requests.BaseResponse
-
- nl.harm27.obswebsocket.api.requests.streaming.GetStreamingStatus.Response
-
- Enclosing class:
- GetStreamingStatus
public static class GetStreamingStatus.Response extends BaseResponse
-
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Duration>
getRecordingDuration()
Time elapsed between now and recording start (only present if OBS Studio is recording) as duration.Optional<String>
getRecordingTimecode()
Time elapsed between now and recording start (only present if OBS Studio is recording) as string.Optional<Duration>
getStreamDuration()
Time elapsed between now and stream start (only present if OBS Studio is streaming) as duration.Optional<String>
getStreamTimecode()
Time elapsed between now and stream start (only present if OBS Studio is streaming) as string.boolean
isPreviewOnly()
Always false.boolean
isRecording()
Current recording status.boolean
isStreaming()
Current streaming status.-
Methods inherited from class nl.harm27.obswebsocket.api.requests.BaseResponse
getError, getMessageId, getStatus
-
-
-
-
Method Detail
-
isStreaming
public boolean isStreaming()
Current streaming status.
-
isRecording
public boolean isRecording()
Current recording status.
-
getStreamTimecode
public Optional<String> getStreamTimecode()
Time elapsed between now and stream start (only present if OBS Studio is streaming) as string.
-
getRecordingTimecode
public Optional<String> getRecordingTimecode()
Time elapsed between now and recording start (only present if OBS Studio is recording) as string.
-
getStreamDuration
public Optional<Duration> getStreamDuration()
Time elapsed between now and stream start (only present if OBS Studio is streaming) as duration.
-
getRecordingDuration
public Optional<Duration> getRecordingDuration()
Time elapsed between now and recording start (only present if OBS Studio is recording) as duration.
-
isPreviewOnly
public boolean isPreviewOnly()
Always false. Retrocompatibility with OBSRemote.
-
-