Skip to content
logo
ecu.test 2025.3 Help
Port AUDIO - RTP ๐Ÿ›ˆ
  • English
  • Deutsch
Initializing search
    • Getting Started
    • Overview
    • ecu.test Main program
    • Further included programs
    • Tools
      • A&D: iTest
      • ASAM: ACI
      • ASAM: iLinkRT
      • ASAM: XIL
      • ASAP: STEP
      • ATI: VISION
      • AVL: LYNX
      • AVL: PUMA
      • Basler: pylon
      • Beckhoff: TwinCAT
      • Digiteq: FG4 MultiBox
      • Digiteq: MGB
      • dSPACE: AURELION
      • dSPACE: ControlDesk
      • dSPACE: ModelDesk
      • dSPACE: MotionDesk
      • dSPACE: RTMaps
      • dSPACE: XIL API
      • EA: UTA 12
      • EMVA: GenICam
      • ESI: SimulationX
      • ETAS: BOA
      • ETAS: COSYM-SIL
      • ETAS: INCA
      • ETAS: LABCAR-PINCONTROL
      • FEP
      • FEP3
      • FEV: Morphรฉe
      • froglogic: Squish
      • Google: ADB
      • Gรถpel: Video Dragon
      • Hexagon: VTD
      • HMS: ACT - Restbussimulation
      • HMS: Legacy Bus Interfaces (VCI V2)
      • HMS: VCI V4
      • HORIBA FuelCon: TestWork
      • IDS: uEye
      • IPETRONIK: ETHOS
      • IPG: CarMakerHeadless
      • IPG: CarMaker|RealTimeMaker
      • JS Foundation: Appium
      • Keysight: CDS
      • Keysight: ESD
      • KS Engineers: TornadoACI
      • Lauterbach: TRACE32
      • MAGNA: BluePiraT
      • Mathworks: MATLAB & Simulink
      • Mechanical Simulation Corporation: CarSim
      • MicroNova: NovaCarts
      • Modelica Association: FMI
      • MOTEON: MTB
      • NI: LabVIEW
      • NI: VeriStand
      • NI: VISA
      • Opal-RT: RT-LAB
      • PEAK: PCAN
      • PLS: UDE
      • QUANCOM: QLIB
      • RA Consulting: DiagRA D
      • ROS2
      • SAE: PassThru
      • SFC: Selenium
      • Softing: DTS
      • Speedgoat: SimulinkRealTimeXIL
      • Synopsys: Silver
      • Synopsys: SilverXIL
      • Synopsys: Virtualizer
      • Technica: BTS
      • Technica: CM
      • The GNU Project: GDB
      • TOSUN: libTSCAN API
      • tracetronic: Ethernet
      • tracetronic: Multimedia
        • Ports
          • Port IMAGE - IMAGE ๐Ÿ›ˆ
          • Port AUDIO - AUDIO ๐Ÿ›ˆ
          • Port AUDIO - RTP ๐Ÿ›ˆ
            • Stimulation
            • Specifics
            • Properties ๐Ÿ›ˆ
            • Jobs ๐Ÿ›ˆ
              • StartRecording
              • StopRecording
      • tracetronic: RemoteCommand
      • tracetronic: RemoteCommandLinux
      • tracetronic: Serial interface
      • tracetronic: SocketCAN
      • tracetronic: SSH MultiConnect
      • tracetronic: ZeroMQ
      • TTTech: TTXConnexion
      • Typhoon HIL: THCC
      • Vector: CANape
      • Vector: CANoe / CANalyzer
      • Vector: DYNA4
      • Vector: SIL Kit
      • Vector: XL API
      • Vehinfo: LABCAR
      • ViGEM: CCA
      • VW: ODIS
      • X2E: Xoraya
      • Tools with stimulus support
    • Test execution
    • Trace analysis
    • Workspace
    • Handling
    • Test management
    • test.guide
    • Extensions
    • Specific Tutorials
    • API references
    • System requirements
    • ecu.test on Linux
    • ecu.test code
    • ecu.test agent
    • ecu.test lab
    • Stimulation
    • Specifics
    • Properties ๐Ÿ›ˆ
    • Jobs ๐Ÿ›ˆ
      • StartRecording
      • StopRecording

    Port AUDIO - RTP ๐Ÿ›ˆยถ

    Stimulationยถ

    This port has no stimulus capabilities.

    Specificsยถ

    Multimedia streams can be sent directly to one or several recipients via IP using the Real-time Transport Protocol (RTP).

    The path to an SDP file (Session Description Protocol) must be specified in the testbench configuration. This text file describes the structure of the stream and can also be created manually if the device generating the stream does not provide an SDP file.

    The content can look like this, for example:

    v=0
    o=- 0 0 IN IP4 127.0.0.1
    s=No Name
    c=IN IP4 127.0.0.1
    t=0 0
    m=audio 5004 RTP/AVP 97
    a=rtpmap:97 L16/48000/2
    b=AS:1536
    

    In this file information about the stream such as the media type, transport protocol, codec information, and further connection parameters can be defined. Moreover, the file provides essential session and media configuration details required for establishing and interpreting the media exchange. In particular, the line m=audio 5004 RTP/AVP 97 describes that an audio stream arrives on port 5004, which is coded as โ€œdynamicโ€ (RTP/AVP 97). The actual coding of the audio data is described in the line a=rtpmap:97 L16/48000/2. This is a Linear PCM 16 bit stereo audio stream with a sampling rate of 48000 Hz. The ecu.test multimedia RTP audio port currently only supports uncompressed linear PCM 8/16/32 bit audio streams with the payload type โ€œdynamicโ€ (96-127). If several audio streams are described in the SDP file, the first one with a โ€œdynamicโ€ payload type is selected.

    An audio stream compatible with this SDP file can be generated using the command line tool ffmpeg, for example:

    ffmpeg -re -stream_loop -1 -i test.mp3 -f s16le -acodec pcm_s16le -ac 2 -ar 48000 -f rtp rtp://127.0.0.1:5004

    The file test.mp3 is read in an endless loop and sent to port 5004 on localhost with the described format.

    Properties ๐Ÿ›ˆยถ

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    SDP file path

    string

    Path to the SDP file that describes the RTP stream.

    Jobs ๐Ÿ›ˆยถ

    StartRecordingยถ

    Starts recording

    StopRecordingยถ

    Stops recording

    2025-12-05
    Previous
    Port AUDIO - AUDIO ๐Ÿ›ˆ
    Next
    tracetronic: RemoteCommand
    © Copyright 2025, tracetronic GmbH.
    Created using Sphinx 8.2.3. and Sphinx-Immaterial
    Logo of tracetronic GmbH
    legal notice privacy policy