Skip to content

Transport: remove duplicate call to method - #931

Merged
jmillan merged 3 commits into
v3from
transport-sendrtcp-fix
Oct 27, 2022
Merged

jmillan merged 3 commits into
v3from
transport-sendrtcp-fix

Conversation

@jmillan

@jmillan jmillan commented Oct 25, 2022

Copy link
Copy Markdown
Member

We were calling twice Producer->GetRtcp() and Consumer->GetRtcp().

Those calls were not having any effect because the above methods just return if they are called before than expected, so the second call had no effect.

@jmillan
jmillan requested a review from ibc October 25, 2022 16:41
Comment thread CHANGELOG.md Outdated
We were calling twice Producer->GetRtcp() and Consumer->GetRtcp().

Those calls were not having any effect because the above methods just return
if they are called before than expected, so the second call had no
effect.
@ibc

ibc commented Oct 26, 2022

Copy link
Copy Markdown
Member

Conflicts

@jmillan
jmillan force-pushed the transport-sendrtcp-fix branch from 3da8356 to 42c2663 Compare October 26, 2022 16:45
@jmillan

jmillan commented Oct 26, 2022

Copy link
Copy Markdown
Member Author

Fixed, I've force pushed this branch.

@CosmosisT

Copy link
Copy Markdown

Would the be the culprit to sometimes having delayed frames discussed in forums?

@ibc

ibc commented Oct 26, 2022

Copy link
Copy Markdown
Member

As the description of the PR says:

Those calls were not having any effect because the above methods just return if they are called before than expected, so the second call had no effect.

@jmillan
jmillan merged commit 397e216 into v3 Oct 27, 2022
@jmillan
jmillan deleted the transport-sendrtcp-fix branch October 27, 2022 08:22
piranna pushed a commit to dyte-in/mediasoup that referenced this pull request Feb 9, 2023
* Transport: remove duplicate call to method

We were calling twice Producer->GetRtcp() and Consumer->GetRtcp().

Those calls were not having any effect because the above methods just return
if they are called before than expected, so the second call had no
effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants