All Superinterfaces:
software.amazon.jsii.JsiiSerializable, SourceBase
All Known Implementing Classes:
SourceRtp.Jsii$Proxy

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:55.229Z") @Stability(Experimental) public interface SourceRtp extends software.amazon.jsii.JsiiSerializable, SourceBase
(experimental) Configuration for RTP.

Example:

 Stack stack;
 Flow flow = Flow.Builder.create(stack, "MyFlow")
         .source(SourceConfiguration.rtp(SourceRtp.builder()
                 .flowSourceName("rtp-source")
                 .port(5000)
                 .network(NetworkConfiguration.publicNetwork("203.0.113.0/24"))
                 .build()))
         .build();
 
  • Method Details

    • getNetwork

      @Stability(Experimental) @NotNull NetworkConfiguration getNetwork()
      (experimental) Defines networking configuration.
    • getPort

      @Stability(Experimental) @NotNull Number getPort()
      (experimental) The port that the flow will be listening on for incoming content.
    • getMaxBitrate

      @Stability(Experimental) @Nullable default Bitrate getMaxBitrate()
      (experimental) The maximum bitrate for RIST, RTP, and RTP-FEC streams.

      Default: - no maximum bitrate

    • builder

      @Stability(Experimental) static SourceRtp.Builder builder()
      Returns:
      a SourceRtp.Builder of SourceRtp