Interface RtmpPushOutputSettings.Builder

  • Method Details

    • applicationName

      RtmpPushOutputSettings.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

      RtmpPushOutputSettings.Builder streamName(String 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

      RtmpPushOutputSettings.Builder tlsEncryption(TlsEncryption 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

      default RtmpPushOutputSettings.Builder tlsEncryption(Consumer<TlsEncryption.Builder> 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: