Interface SrtOutputSettings.Builder

  • Method Details

    • bufferMsec

      SrtOutputSettings.Builder bufferMsec(Integer bufferMsec)
      SRT output buffering in milliseconds. A higher value increases latency through the encoder. But the benefits are that it helps to maintain a constant, low-jitter SRT output, and it accommodates clock recovery, input switching, input disruptions, picture reordering, and so on. Range: 0-10000 milliseconds.
      Parameters:
      bufferMsec - SRT output buffering in milliseconds. A higher value increases latency through the encoder. But the benefits are that it helps to maintain a constant, low-jitter SRT output, and it accommodates clock recovery, input switching, input disruptions, picture reordering, and so on. Range: 0-10000 milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerSettings

      SrtOutputSettings.Builder containerSettings(UdpContainerSettings containerSettings)
      Sets the value of the ContainerSettings property for this object.
      Parameters:
      containerSettings - The new value for the ContainerSettings property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerSettings

      default SrtOutputSettings.Builder containerSettings(Consumer<UdpContainerSettings.Builder> containerSettings)
      Sets the value of the ContainerSettings property for this object. This is a convenience method that creates an instance of the UdpContainerSettings.Builder avoiding the need to create one manually via UdpContainerSettings.builder().

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

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

      SrtOutputSettings.Builder destination(OutputLocationRef destination)
      Sets the value of the Destination property for this object.
      Parameters:
      destination - The new value for the Destination property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destination

      default SrtOutputSettings.Builder destination(Consumer<OutputLocationRef.Builder> destination)
      Sets the value of the Destination property for this object. 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:
    • encryptionType

      SrtOutputSettings.Builder encryptionType(String encryptionType)
      The encryption level for the content. Valid values are AES128, AES192, AES256. You and the downstream system should plan how to set this field because the values must not conflict with each other.
      Parameters:
      encryptionType - The encryption level for the content. Valid values are AES128, AES192, AES256. You and the downstream system should plan how to set this field because the values must not conflict with each other.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionType

      SrtOutputSettings.Builder encryptionType(SrtEncryptionType encryptionType)
      The encryption level for the content. Valid values are AES128, AES192, AES256. You and the downstream system should plan how to set this field because the values must not conflict with each other.
      Parameters:
      encryptionType - The encryption level for the content. Valid values are AES128, AES192, AES256. You and the downstream system should plan how to set this field because the values must not conflict with each other.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • latency

      The latency value, in milliseconds, that is proposed during the SRT connection handshake. SRT will choose the maximum of the values proposed by the sender and receiver. On the sender side, latency is the amount of time a packet is held to give it a chance to be delivered successfully. On the receiver side, latency is the amount of time the packet is held before delivering to the application, aiding in packet recovery and matching as closely as possible the packet timing of the sender. Range: 40-16000 milliseconds.
      Parameters:
      latency - The latency value, in milliseconds, that is proposed during the SRT connection handshake. SRT will choose the maximum of the values proposed by the sender and receiver. On the sender side, latency is the amount of time a packet is held to give it a chance to be delivered successfully. On the receiver side, latency is the amount of time the packet is held before delivering to the application, aiding in packet recovery and matching as closely as possible the packet timing of the sender. Range: 40-16000 milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.