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

Fix Rtp padding generator for older firefox build. #1152

Merged
merged 5 commits into from
Mar 1, 2018
Merged

Fix Rtp padding generator for older firefox build. #1152

merged 5 commits into from
Mar 1, 2018

Conversation

kekkokk
Copy link
Contributor

@kekkokk kekkokk commented Feb 9, 2018

Also set marker to false per RFC

Idk if it needs some unit tests

[] It needs and includes Unit Tests
[] It includes documentation for these changes in /doc.

Also set marker to false per RFC
@jcague
Copy link
Contributor

jcague commented Feb 9, 2018

does these changes still works for Chrome? I think to remember we had some issues in the past with the marker set to true (but I might be wrong).

Copy link
Contributor

@jcague jcague left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this approach! I just wonder if it could affect the way the padding works for Chrome. I'll try to do some tests in my local environment during the next week. Have you tested it already for Chrome too?

@@ -100,6 +100,7 @@ void RtpPaddingGeneratorHandler::sendPaddingPacket(std::shared_ptr<DataPacket> p
RtpHeader *rtp_header = reinterpret_cast<RtpHeader*>(padding_packet->data);

rtp_header->setSeqNumber(sequence_number.output);
rtp_header->setMarker(false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we set the marker bit inside RtpUtils::makePaddingPacket please?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry idk why i messed up here

sendPaddingPacket(packet, last_padding_packet_size_);
// Temporary fix since https://bugzilla.mozilla.org/show_bug.cgi?id=1435025 is fixed
// Only send full rtp padding packet as suggested also in webrtc code.
// sendPaddingPacket(packet, last_padding_packet_size_);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could affect the way the congestion control works, have you tested it with Chrome too? did you notice any significant change in the amount of time it takes for simulcast to increase the quality layers?

@kekkokk
Copy link
Contributor Author

kekkokk commented Feb 9, 2018

I tested with chrome and seems ok! also because chrome itself send the packet with the marker false.
I'll try some more in the afternoon since the tests I made were done without listening to rembs (we found that they're too conservatives and tend to lower a lot in short period of time. but instead, making the senderBWestimator works only with RRs it's way more stable.
I did a pr time ago that was closed in which I used this approach.

Also, I don't think that the minimum padding size that we drop here will affect much the increase rate of bw estimation (but I could be wrong).

If you can also test this will be great, but I don't think this will cause any issue.

@jcague jcague merged commit 6b0da4d into lynckia:master Mar 1, 2018
@kekkokk kekkokk deleted the fix/rtp_padding_generator branch June 4, 2018 10:56
Arri98 pushed a commit to Arri98/licode that referenced this pull request Apr 6, 2021
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