Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
extractaudio
libucl
rtcp2json
rtp_analyze
.gitignore
Makefile.am
Makefile.in
README.md
basic_versions
basic_versions.input
basic_versions.output
command_parser
command_parser.input
command_parser.output
extractaudio1
forwarding1
forwarding1.checksums
forwarding1.delete.input
forwarding1.gena.input
forwarding1.gena.output
forwarding1.geno.input
forwarding1.geno.output
forwarding1.input
forwarding1.output
forwarding1.reca.input
forwarding1.reco.input
forwarding1.relatch.input
forwarding1.repack.input
forwarding1.sstats.input
forwarding1.stats.input
functions
gdb.gettrace
libucl1
makeann
makeann.output
playback1
playback1.checksums
playback1.nat.input
playback1.output
playback1.type1.input
playback1.type2.input
playback1.type3.input
playback1.type4.input
playback1.type4.output
playback1.type5.input
playback1.type5.output
playback1.type5.st2.input
ringback.sln
rtcp2json1
rtp_analyze1
session_timeouts
session_timeouts.full.input
session_timeouts.full6.input
session_timeouts.half.input
session_timeouts.half6.input
session_timeouts.lookup.input
session_timeouts.lookup6.input
session_timeouts.output1
session_timeouts.output2
session_timeouts.stats.input
session_timeouts.tnotify.output
session_timeouts6.output1
session_timeouts6.output2
startstop
startstop.output

README.md

Integration Tests

This directory contains a suite of tests that exercises the RTPProxy command channel, and various aspects of the RTPProxy operation.

Running make check in the root RTPProxy directory will run these tests. The RTPProxy repository is hooked up to a continuous integration services (travis or drone.io) that will automatically run all tests.

Test Suite Dependencies

The following libraries and build tools are required by the test suite. All but libg722 are available in most Linux distribuitions package systems.

  • audio/bcg729
  • audio/gsm
  • audio/libsndfile
  • devel/autoconf
  • devel/automake
  • devel/libtool
  • devel/pkgconf
  • devel/py-twisted
  • libg722 (Available from https://github.com/sippy/libg722)

RTPProxy payload conventions

The tests make use of prerecorded files that are encoded in various formats (payloads). Each file has a numeric suffix that represents the payload type as defined in rfc3551 Section 6. Payload Type Definitions)

Adding new tests

To add additional tests, create a Bourne shell script, and turn on the executable file bit. If your test requires supporting files, such files should use the same name as the test script, and use a suffix that reasonably describes its purpose.