Commit bdf27cf
fix(rtprelay): correct RTPEngine ng protocol parameters for WebRTC bridging
The RTPEngine parameters for WEB_TO_PHONE and PHONE_TO_WEB directions
were not conforming to the ng protocol specification, causing DTLS
fingerprint to be missing from the answer SDP sent to WebRTC clients.
Key changes:
- rtcp-mux: send as array per ng protocol spec (was string, silently ignored)
- DTLS: explicitly set "off" for phone leg and "passive" for WebRTC leg
- SDES: use "SDES-no" flag instead of separate SDES key
- replace: use dedicated key instead of compound flags
- Add "strip-extmap" flag for WebRTC answer
These changes align with the drachtio/rtpengine-client reference
implementation used in production WebRTC-to-SIP bridging deployments.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent ec76c58 commit bdf27cf
1 file changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | | - | |
76 | 77 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
| |||
0 commit comments