Commit d11748f
committed
fix: Use host network mode as default to resolve WebRTC/UDP issues
- Change default network mode from 'bridge' to 'host' in action.yml and Dockerfile
- Solves WebRTC "Send failed" errors without requiring privileged mode
- Bypasses Docker NAT/connection tracking issues
- Works in organizations that block privileged containers
- Make sysctl optimizations conditional on privileged mode
- Prevents "permission denied" errors in GitHub Actions
- Only applies buffer tuning when privileged-mode is explicitly enabled
- Shows informative messages about optimization status
This ensures the action works out-of-the-box for WebRTC/UDP traffic
without requiring special permissions or violating security policies.1 parent 5f1ef10 commit d11748f
2 files changed
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
214 | 221 | | |
215 | 222 | | |
216 | 223 | | |
| |||
0 commit comments