Skip to content
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

Update call.c #1126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jakubkarolczyk
Copy link

If the consecutive answer is from different media endpoint (e.g. early media scenario with different media endpoint used for 183), then we are loosing RTCP_MUX_OVERRIDE, as it was set for the previous answer. We need to explicitly check if rtcp-mux was initially offered by the client.

If the consecutive answer is from different media endpoint, then we need to check if rtcp-mux was offered initially by the client
@rfuchs
Copy link
Member

rfuchs commented Dec 4, 2020

Can you describe a concrete case that this would fix? I would like to add it to the automated tests.

@jakubkarolczyk
Copy link
Author

Client sends the offer with rtcp-mux; RTPEngine does rtcp-demux and sends the new offer to peer
1st answer back from the peer (183) with c=A.B.C.D; RTPEngine replies to client with rtcp-mux
2nd answer back from the peer (200) with c=E.F.G.H; RTPEngine replies to client without rtcp-mux (before fix)
Client can only do rtcp-mux and rejects the call

2nd answer back from the peer (200) with c=E.F.G.H; RTPEngine replies to client with rtcp-mux (after fix)

@rfuchs
Copy link
Member

rfuchs commented Dec 4, 2020

Hm ok, can't really reproduce that... does the 200 answer also have a different to-tag than the 183?

@jakubkarolczyk
Copy link
Author

That's correct, 200 has got different to-tag than 183

@rfuchs
Copy link
Member

rfuchs commented Dec 4, 2020

Ok I see. I don't think this is the correct solution. In fact it breaks an existing test case.

Is there any branching/forking going on in your routing logic, or do you simply get two answers with different to-tags unsolicited?

@jakubkarolczyk
Copy link
Author

I simply get two answers with different to-tags.

btw. what is the scenario of test case "gh #793 b2"?

@rfuchs
Copy link
Member

rfuchs commented Dec 4, 2020

I simply get two answers with different to-tags.

btw. what is the scenario of test case "gh #793 b2"​【5 cm】?

Similar to your case, but for a deliberately branched call (using via-branch and multiple offers).

I'll have to think about how this can be fixed nicely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants