Repository navigation
Conversation
|
cherry-pick-to: 24 |
|
Workflow Check completed successfully |
5e581de to
731eab8
Compare
Pull Request Checklist Complete
|
Workflow Check completed successfully |
| } | ||
|
|
||
| /* | ||
| * PJPROJECT only invokes the receive-data callback for application data |
There was a problem hiding this comment.
This is incorrect. We explicitly disabled such pjnath functionality because it conflicted with our own functionality and caused issues. Any sender would get through here.
There was a problem hiding this comment.
thanks, i try to fix this report
There was a problem hiding this comment.
I updated the PR based on your feedback and tested it. Thanks.
When ICE moves media to another valid candidate pair, Strict RTP can remain locked to the previous source and drop media from the new path. Restart Strict RTP learning when PJPROJECT accepts RTP from a different source after Strict RTP has closed. Assisted-by: OpenAI ChatGPT Resolves: asterisk#1955 UserNote: Strict RTP now handles media moving between valid ICE paths.
731eab8 to
b8a3656
Compare
|
Workflow Check completed successfully |
|
|
||
| if (transport_rtp->ice && transport_rtp->ice_media_started | ||
| && transport_rtp->ice_active_remote_candidates | ||
| && read_area == transport_rtp->rawdata + AST_FRIENDLY_OFFSET) { |
There was a problem hiding this comment.
Add a comment here to explain that the read_area check is to do with the buffering
| if (candidate) { | ||
| /* Tentatively pass this packet to SRTP authentication. | ||
| * The Strict RTP lock changes only after unprotect succeeds. | ||
| */ |
There was a problem hiding this comment.
I think this deserves a debug message
When ICE moves media to another valid candidate pair, Strict RTP can
remain locked to the previous source and drop media from the new path.
Restart Strict RTP learning when PJPROJECT accepts RTP from a different
source after Strict RTP has closed.
Assisted-by: OpenAI ChatGPT
Resolves: #1955
UserNote: Strict RTP now handles media moving between valid ICE paths.