Class StartStreaming.Settings
- java.lang.Object
-
- nl.harm27.obs.websocket.api.requests.streaming.StartStreaming.Settings
-
- Enclosing class:
- StartStreaming
public class StartStreaming.Settings extends Object
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
getKey()
The publish key of the stream.Optional<String>
getPassword()
If authentication is enabled, the password for the streaming server.Optional<String>
getServer()
The publish URL.Optional<String>
getUsername()
If authentication is enabled, the username for the streaming server.Optional<Boolean>
isUseAuth()
Indicates whether authentication should be used when connecting to the streaming server.void
setKey(String key)
The publish key of the stream.void
setPassword(String password)
If authentication is enabled, the password for the streaming server.void
setServer(String server)
The publish URL.void
setUseAuth(boolean useAuth)
Indicates whether authentication should be used when connecting to the streaming server.void
setUsername(String username)
If authentication is enabled, the username for the streaming server.
-
-
-
Method Detail
-
setServer
public void setServer(String server)
The publish URL.
-
setKey
public void setKey(String key)
The publish key of the stream.
-
isUseAuth
public Optional<Boolean> isUseAuth()
Indicates whether authentication should be used when connecting to the streaming server.
-
setUseAuth
public void setUseAuth(boolean useAuth)
Indicates whether authentication should be used when connecting to the streaming server.
-
getUsername
public Optional<String> getUsername()
If authentication is enabled, the username for the streaming server. Ignored if `use_auth` is not set to `true`.
-
setUsername
public void setUsername(String username)
If authentication is enabled, the username for the streaming server. Ignored if `use_auth` is not set to `true`.
-
getPassword
public Optional<String> getPassword()
If authentication is enabled, the password for the streaming server. Ignored if `use_auth` is not set to `true`.
-
setPassword
public void setPassword(String password)
If authentication is enabled, the password for the streaming server. Ignored if `use_auth` is not set to `true`.
-
-