Interface RtmpOutputSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RtmpOutputSettings.Builder,RtmpOutputSettings>, SdkBuilder<RtmpOutputSettings.Builder,RtmpOutputSettings>, SdkPojo
Enclosing class:
RtmpOutputSettings

public static interface RtmpOutputSettings.Builder extends SdkPojo, CopyableBuilder<RtmpOutputSettings.Builder,RtmpOutputSettings>
  • Method Details

    • certificateMode

      RtmpOutputSettings.Builder certificateMode(String 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • certificateMode

      RtmpOutputSettings.Builder certificateMode(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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectionRetryInterval

      RtmpOutputSettings.Builder connectionRetryInterval(Integer connectionRetryInterval)
      Number of seconds to wait before retrying a connection to the Flash Media server if the connection is lost.
      Parameters:
      connectionRetryInterval - Number of seconds to wait before retrying a connection to the Flash Media server if the connection is lost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • 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. This is a convenience method that creates an instance of the OutputLocationRef.Builder avoiding the need to create one manually via OutputLocationRef.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to destination(OutputLocationRef).

      Parameters:
      destination - a consumer that will call methods on OutputLocationRef.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • numRetries

      RtmpOutputSettings.Builder numRetries(Integer numRetries)
      Number of retry attempts.
      Parameters:
      numRetries - Number of retry attempts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.