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

Forward TMMBR and TMMBN packets #91

Closed
wants to merge 1 commit into from
Closed

Forward TMMBR and TMMBN packets #91

wants to merge 1 commit into from

Conversation

ibc
Copy link
Member

@ibc ibc commented Apr 1, 2017

Forward TMMBR and TMMBN feedback packets to the corresponding RtpReceiver.

@ibc ibc added the enhancement label Apr 1, 2017
@ibc ibc requested a review from jmillan April 1, 2017 14:33
@ibc
Copy link
Member Author

ibc commented Apr 1, 2017

Question: should we also check possible TMMB packets into received RTCP compound packets?

@ibc
Copy link
Member Author

ibc commented Apr 1, 2017

Also, this depends on #89

@ibc
Copy link
Member Author

ibc commented Apr 1, 2017

NOTE: I do know that the PR is wrong, as it must extract all the items from the TMMB packet and get the RtpReceiver associated to each one. But, since I've also improved something in the logs in the same Peer.cpp file, may we keep the work in this branch?

Copy link
Member

@jmillan jmillan left a comment

Choose a reason for hiding this comment

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

Yes, sure 👍

}

break;
}

case RTCP::FeedbackRtp::MessageType::TMMBR:
case RTCP::FeedbackRtp::MessageType::TMMBN:
{
Copy link
Member

Choose a reason for hiding this comment

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

TMMBR is sent by a remote receiver as a feedback to the sender of the indicated SSRC.
TMMBN is sent by the remote sender as response to the previous one.

They cannot be threaten the same way.

Copy link
Member Author

Choose a reason for hiding this comment

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

Wow, that's also right... disaster... I will just cancel this PR and delete the branch (I will copy the logs improvement into master branch).

@ibc ibc closed this Apr 1, 2017
@jmillan
Copy link
Member

jmillan commented Apr 1, 2017

Question: should we also check possible TMMB packets into received RTCP compound packets?

Compound packets are decomposed on reception, just when parsing. After parsing them Mediasoup does not know whether they came in a compound or separately. It just processes the packets separatelly.

@ibc
Copy link
Member Author

ibc commented Apr 1, 2017

Yes, right... I always forget that our RTCP design is so cool :)

@ibc ibc deleted the forward-tmmb branch April 1, 2017 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants