Class StartStreaming.Settings

    • Constructor Detail

      • Settings

        public Settings()
    • 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 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`.