Class GetMediaDuration
- java.lang.Object
-
- nl.harm27.obs.websocket.api.requests.mediacontrol.GetMediaDuration
-
public class GetMediaDuration extends Object
Get the length of media in milliseconds. Supports ffmpeg and vlc media sources (as of OBS v25.0.8) Note: For some reason, for the first 5 or so seconds that the media is playing, the total duration can be off by upwards of 50ms.- Since:
- 4.9.0
- See Also:
- OBS WebSocket Documentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetMediaDuration.Builder
static class
GetMediaDuration.Request
static class
GetMediaDuration.Response
-