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 several loops in SequenceNumberTranslator #784

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

jcague
Copy link
Contributor

@jcague jcague commented Feb 28, 2017

Description

This PR fixes an issue in SequenceNumberTranslator when there are several loops of sequence numbers in total. I added a Unit Test to cover this case too.

  • It needs and includes Unit Tests

Changes in Client or Server public APIs

No needed.

[] It includes documentation for these changes in /doc.

Copy link
Contributor

@lodoyun lodoyun left a comment

Choose a reason for hiding this comment

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

LGTM! Nice catch

@jcague jcague merged commit b19c6a7 into lynckia:master Mar 1, 2017
@jcague jcague deleted the fix/sequence_number_translator branch March 1, 2017 08:18
@unclerunning
Copy link

unclerunning commented Jul 23, 2018

I think the output seq of packet with seq 6 will mess up with seq 16 if the input packet sequence like below:
1, PacketState::Forward,

10, PacketState::Skip,

20, PacketState::Forward,

5, PacketState::Forward,
6, PacketState::Forward,
16,PacketState::Forward,

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.

3 participants