Skip to content

Removed unnecessary prechecks in async conference bridge operations#4121

Merged
nanangizz merged 2 commits intomasterfrom
async-conf-remove-prechecks
Oct 31, 2024
Merged

Removed unnecessary prechecks in async conference bridge operations#4121
nanangizz merged 2 commits intomasterfrom
async-conf-remove-prechecks

Conversation

@nanangizz
Copy link
Copy Markdown
Member

After #3928, reported that when connecting & disconnecting ports requests are issued in a very short interval (e.g: when auto answer with resp code 200 is enabled in pjsua app), the disconnect request may fail which cause the ports to remain connected (undesirable). The failure in disconnection request happens because there is precheck of connection availability. Those prechecks are still be performed in the operation execution, but not in the operation request. This PR will remove such prechecks in all async operations requests.

This PR also contain some minor updates, e.g:

  • add check for possible failure in memory allocation (for operation entry)
  • use on_return label to clean up error handling.
  • logging update: add word "video" when referring a video port's slot without port's name.

@nanangizz nanangizz merged commit ae3874c into master Oct 31, 2024
@nanangizz nanangizz deleted the async-conf-remove-prechecks branch October 31, 2024 02:15
BarryYin pushed a commit to BarryYin/pjproject that referenced this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants