Class RtmpOutputSettings

    • Method Detail

      • certificateMode

        public final RtmpOutputCertificateMode certificateMode()
        If set to verifyAuthenticity, verify the tls certificate chain to a trusted Certificate Authority (CA). This will cause rtmps outputs with self-signed certificates to fail.

        If the service returns an enum value that is not available in the current SDK version, certificateMode will return RtmpOutputCertificateMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from certificateModeAsString().

        Returns:
        If set to verifyAuthenticity, verify the tls certificate chain to a trusted Certificate Authority (CA). This will cause rtmps outputs with self-signed certificates to fail.
        See Also:
        RtmpOutputCertificateMode
      • certificateModeAsString

        public final String certificateModeAsString()
        If set to verifyAuthenticity, verify the tls certificate chain to a trusted Certificate Authority (CA). This will cause rtmps outputs with self-signed certificates to fail.

        If the service returns an enum value that is not available in the current SDK version, certificateMode will return RtmpOutputCertificateMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from certificateModeAsString().

        Returns:
        If set to verifyAuthenticity, verify the tls certificate chain to a trusted Certificate Authority (CA). This will cause rtmps outputs with self-signed certificates to fail.
        See Also:
        RtmpOutputCertificateMode
      • connectionRetryInterval

        public final Integer connectionRetryInterval()
        Number of seconds to wait before retrying a connection to the Flash Media server if the connection is lost.
        Returns:
        Number of seconds to wait before retrying a connection to the Flash Media server if the connection is lost.
      • destination

        public final OutputLocationRef destination()
        The RTMP endpoint excluding the stream name (eg. rtmp://host/appname). For connection to Akamai, a username and password must be supplied. URI fields accept format identifiers.
        Returns:
        The RTMP endpoint excluding the stream name (eg. rtmp://host/appname). For connection to Akamai, a username and password must be supplied. URI fields accept format identifiers.
      • numRetries

        public final Integer numRetries()
        Number of retry attempts.
        Returns:
        Number of retry attempts.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)