Interface RtmpPushRouterOutputConfiguration.Builder

  • Method Details

    • destinationAddress

      RtmpPushRouterOutputConfiguration.Builder destinationAddress(String destinationAddress)

      The IP address or hostname of the destination RTMP server that the router output pushes the stream to. Provide only the server address; specify the application and stream names separately.

      Parameters:
      destinationAddress - The IP address or hostname of the destination RTMP server that the router output pushes the stream to. Provide only the server address; specify the application and stream names separately.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationPort

      RtmpPushRouterOutputConfiguration.Builder destinationPort(Integer destinationPort)

      The TCP port on the destination RTMP server. For RTMP, valid values range from 1024 to 65535. For RTMPS (RTMP over TLS), valid values are 443 or 1024 to 65535. RTMP typically uses port 1935, and RTMPS typically uses port 443.

      Parameters:
      destinationPort - The TCP port on the destination RTMP server. For RTMP, valid values range from 1024 to 65535. For RTMPS (RTMP over TLS), valid values are 443 or 1024 to 65535. RTMP typically uses port 1935, and RTMPS typically uses port 443.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationName

      RtmpPushRouterOutputConfiguration.Builder applicationName(String applicationName)

      The name of the RTMP application on the destination server. Together with the stream name, the application name forms the RTMP URL path, in the pattern rtmp://destinationAddress/applicationName/streamName.

      Parameters:
      applicationName - The name of the RTMP application on the destination server. Together with the stream name, the application name forms the RTMP URL path, in the pattern rtmp://destinationAddress/applicationName/streamName.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamName

      The name of the RTMP stream that the output publishes to the destination application. The stream name forms the final segment of the RTMP URL path.

      Parameters:
      streamName - The name of the RTMP stream that the output publishes to the destination application. The stream name forms the final segment of the RTMP URL path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tlsEncryption

      The TLS encryption settings for the output. When you specify these settings, the output uses RTMPS (RTMP over TLS) to establish a secure, encrypted connection to the destination server.

      Parameters:
      tlsEncryption - The TLS encryption settings for the output. When you specify these settings, the output uses RTMPS (RTMP over TLS) to establish a secure, encrypted connection to the destination server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tlsEncryption

      The TLS encryption settings for the output. When you specify these settings, the output uses RTMPS (RTMP over TLS) to establish a secure, encrypted connection to the destination server.

      This is a convenience method that creates an instance of the TlsEncryption.Builder avoiding the need to create one manually via TlsEncryption.builder().

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

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