Class StreamSettings


  • public class StreamSettings
    extends Object
    Settings for the stream.
    • Constructor Detail

      • StreamSettings

        public StreamSettings()
    • Method Detail

      • setServer

        public void setServer​(String server)
        The publish URL.
      • getKey

        public Optional<String> getKey()
        The publish key of the stream.
      • setKey

        public void setKey​(String key)
        The publish key of the stream.
      • isUseAuth

        public 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.
      • setService

        public void setService​(String service)
        The used service
      • isBandwidthTest

        public boolean isBandwidthTest()
        Bandwidth Test enabled
      • setBandwidthTest

        public void setBandwidthTest​(boolean bandwidthTest)
        Bandwidth Test enabled