ICE library for the Red5 Pro Server. This library was originally derived from ice4j with a fork being heavily modified by Red5. The I/O layer and much of the logic has been reimagined to fulfill our needs and now lives here as a separate and distinct project.
I/O via Mina mDNS support via jmdns
# Build (default goal: clean install, tests skipped by default)
mvn clean install
# Build with tests
mvn clean install -DskipTests=falseUnit tests cover STUN message encoding/decoding, attributes, and core ICE functionality.
# Run all unit tests via the test suite
mvn test -DskipTests=false
# Run a specific test class
mvn test -DskipTests=false -Dtest=com.red5pro.ice.attribute.AddressAttributeTestIntegration tests verify STUN/TURN candidate harvesting against a real coturn server running in Docker.
Prerequisites:
- Docker must be installed and running
- The
coturn/coturnimage will be pulled automatically if not present
# Run all integration tests
mvn test -DskipTests=false -Dtest=IntegrationTestSuite
# Run STUN tests only
mvn test -DskipTests=false -Dtest=StunHarvesterIntegrationTest
# Run TURN tests only
mvn test -DskipTests=false -Dtest=TurnHarvesterIntegrationTestTests will automatically skip if Docker is not available.