-
Notifications
You must be signed in to change notification settings - Fork 999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stream: Create matching joint topology #344
Conversation
cherry-pick-to: 21 |
While developing, I recommend building Asterisk with the |
Isn't that what |
When creating joint topologies, resolved topologies have to have equal stream counts. Currently this only happens if first of the two given topologies has equal or more streams. This change adds remaining streams of second topology to the joint topology.
c41889f
to
42c0599
Compare
This is about streams (m=audio/video lines) in SDP. |
That makes sense, sorry for the confusion. |
Looks good to me. I also ran the ACN testsuite PR with it and there's no issues. @btriller Could you describe a scenario (with configured endpoint settings, SDP offers and answers) that failed before this change and now works? Then I can add it to the testsuite to ensure it works and will continue to work. |
Attached scenario fails. Without this PR's change, Asterisk emits a reINVITE after answering to alice (caller). Asterisk logs following:
|
Thank you for providing the test case!
You're right, I can reproduce that. With your change the reINVITE is gone. Unfortunately, the SIPP scenario still fails for me - the caller receives all codecs on the SDP answer and I am not sure yet why. I don't think this has anything to do with this PR though. |
I get @maximilianfridrich Maybe like that?
|
You added this patch here https://github.com/asterisk/asterisk/compare/b85addb8d96ac646dbe26ccd79fe3fd9708d2b38..317a31e6bf2ea679a7bacab46d3b6d5cfabc5dd0 but removed it https://github.com/asterisk/asterisk/compare/317a31e6bf2ea679a7bacab46d3b6d5cfabc5dd0..eb5b500f70ed85d6f177e8b44c1d7455c2167c5a. |
Yes, that was intended. This change broke many test cases of |
This PR has been marked stale because it has been in "Changes Requested" or "submitter-action-required" state for 28 days or more. Please make the requested changes within 14 days or the PR will be closed. |
This PR has been closed because it has been in "Changes Requested" or "submitter-action-required" state for more than 42 days. |
Requested change has been implemented (https://github.com/asterisk/asterisk/compare/c41889f859c483e31c7c4a49e7b8df210a5f2239..42c0599b27f572fca35950d32628a309a9c0550f) |
When creating joint topologies, resolved topologies have to have equal stream counts. Currently this only happens if first of the two given topologies has equal or more streams.
This change adds remaining streams of second topology to the joint topology.