Skip to content

About

ICE library

Resources

Stars

1 star

Watchers

3 watching

Forks

Latest commit

 

History

114 Commits

Folders and files

Repository files navigation

red5pro-ice

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.

Features

I/O via Mina mDNS support via jmdns

Building

# Build (default goal: clean install, tests skipped by default)
mvn clean install

# Build with tests
mvn clean install -DskipTests=false

Testing

Unit Tests

Unit 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.AddressAttributeTest

Integration Tests

Integration tests verify STUN/TURN candidate harvesting against a real coturn server running in Docker.

Prerequisites:

  • Docker must be installed and running
  • The coturn/coturn image 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=TurnHarvesterIntegrationTest

Tests will automatically skip if Docker is not available.

Links

About

ICE library

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages