apple-pion

module
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: MIT

README

apple-pion

This module contains small Pion adapters for github.com/tmc/apple.

The current packages are:

  • github.com/tmc/apple-pion/icepolicy: helpers for explicit link-local ICE candidate publication when trusted peers cannot rely on mDNS candidate exchange.
  • github.com/tmc/apple-pion/nwtransport: a Pion transport.Net adapter that routes concrete UDP listeners, configured wildcard UDP listeners, and UDP dials through github.com/tmc/apple/x/network/nwpacket, while falling back to Pion's standard network implementation for DNS, TCP, unconstrained wildcard UDP, and unsupported families.

The module uses released github.com/tmc/apple v0.6.7, which includes x/network/nwpacket path reporting and outbound readiness retry knobs.

nwtransport is intentionally hybrid. Network.framework owns the UDP listeners and UDP dials needed for Pion ICE on a selected Apple link. DNS, TCP, unconstrained wildcard UDP, TURN/STUN helper traffic outside that selected UDP surface, and unsupported address families stay on the fallback transport.Net.

Directories

Path Synopsis
Package icepolicy helps Pion publish explicit ICE host candidates for selected Apple link-local interfaces.
Package icepolicy helps Pion publish explicit ICE host candidates for selected Apple link-local interfaces.
Package nwtransport adapts Network.framework UDP listeners to Pion's transport.Net interface.
Package nwtransport adapts Network.framework UDP listeners to Pion's transport.Net interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL