Class SetStreamSettings.Settings
- java.lang.Object
-
- nl.harm27.obs.websocket.api.requests.streaming.SetStreamSettings.Settings
-
- Enclosing class:
- SetStreamSettings
public class SetStreamSettings.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.Optional<String>getPassword()The password for the streaming service.Optional<String>getServer()The publish URL.Optional<String>getUsername()The username for the streaming service.Optional<Boolean>isUseAuth()Indicates whether authentication should be used when connecting to the streaming server.voidsetKey(String key)The publish key.voidsetPassword(String password)The password for the streaming service.voidsetServer(String server)The publish URL.voidsetUseAuth(boolean useAuth)Indicates whether authentication should be used when connecting to the streaming server.voidsetUsername(String username)The username for the streaming service.
-
-
-
Method Detail
-
setServer
public void setServer(String server)
The publish URL.
-
setKey
public void setKey(String key)
The publish key.
-
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.
-
setUsername
public void setUsername(String username)
The username for the streaming service.
-
setPassword
public void setPassword(String password)
The password for the streaming service.
-
-