webrtc
webrtc copied to clipboard
refactor(ice): replace magic numbers with named constants for STUN/TURN ports
Replace hardcoded port numbers 3478 and 5349 with DEFAULT_PORT and DEFAULT_TLS_PORT constants from the stun module to improve code readability and maintainability.
- Add import for stun::{DEFAULT_PORT, DEFAULT_TLS_PORT}
- Replace 3478 with DEFAULT_PORT for STUN/TURN protocols
- Replace 5349 with DEFAULT_TLS_PORT for STUNS/TURNS protocols