Skip to main content

RTP/SRT Streamer Guide

The RTP/SRT Streamer for Ad-Flow is a pre-configured Amazon Machine Image (AMI) designed specifically for testing Ad-Flow implementations. This tool simplifies the process of creating test streams with simulated ad breaks, enabling thorough testing of Ad-Flow's detection and marker insertion capabilities.

Features

  • Ready-to-use streaming scripts for both RTP and SRT protocols
  • Pre-loaded sample video content with simulated ad breaks. There is one simulated 90-sec ad break every 7min30.
  • Optimized configuration for Ad-Flow testing
  • Simple command-line interface
  • Automatic loop playback for extended testing

Instance Setup

Creating an EC2 Instance

  1. Access EC2 Dashboard Navigate to the AWS EC2 instance dashboard and click "Launch instance"

  2. Configure Instance Name Under "Name and tags", provide a descriptive name (e.g., "test-streamer")

  3. Select AMI

    • In the "Application and OS Images" section, search for "ad-flow"
    • Select the "AWS Marketplace AMIs" tab
    • Choose "RTP/SRT Streamer for Ad-Flow (SCTE-35 Automated Insertion)"
  4. Complete Configuration

    • Configure remaining instance options according to your environment needs
    • Launch the instance and wait for initialization

Connecting to Your Instance

  1. Access Instance

    • Select your instance from the EC2 Instances page
    • Click "Connect"
    • Choose the "EC2 Instance Connect" tab
  2. Establish Connection

    • Enter "ec2-user" as the Username
    • Click "Connect"
    • Verify connection by running "ls" to view available streaming scripts

Streaming Options

RTP Streaming

RTP streaming requires an active Ad-Flow instance with a known Private IPv4 address.

Prerequisites:

  • Running Ad-Flow instance
  • Ad-Flow's Private IPv4 address

Steps:

  1. Note Ad-Flow's Private IPv4 address
  2. Execute the RTP streaming script:
    ./rtpOutLoop.sh rtp://[AD-FLOW-IP]:5004

SRT Streaming

SRT streaming requires an active Ad-Flow instance with a known Private IPv4 address.

Prerequisites:

  • Running Ad-Flow instance
  • Ad-Flow's Private IPv4 address

Steps:

  1. Note Ad-Flow's Private IPv4 address
  2. Execute the RTP streaming script:
    ./srtOutLoop.sh srt://[AD-FLOW-IP]:5004

Streaming will begin once Ad-Flow connects to the Streamer test tool.