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

Need rtcp nack, pli and fir #5

Open
29654761 opened this issue Dec 13, 2022 · 4 comments
Open

Need rtcp nack, pli and fir #5

29654761 opened this issue Dec 13, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@29654761
Copy link

Librtp is a very helpful library. It has helped me a lot. Thanks to the authors. But I noticed that librtp does not implement some rtcp commands link nack, pli and fir. Do you have any plans to improve it?

@wilkinsw wilkinsw added the enhancement New feature or request label Dec 13, 2022
@wilkinsw
Copy link
Member

My original intention was to only support RFC 3550. It looks like you need some extensions added in RFC 4585 and RFC 6642.

I'm definitely interested in looking into those, but I don't have the time right now. I'd be happy to review a pull request if you want to implement it yourself.

@29654761
Copy link
Author

Ok I will push after I finish the test, It may take a long time.

29654761 pushed a commit to 29654761/librtp that referenced this issue Mar 28, 2023
@kgbook
Copy link

kgbook commented Oct 9, 2023

Ok I will push after I finish the test, It may take a long time.

Hi, @29654761 RTCP_RTPFB and RTCP_PSFB are undefined.

rtcp_fb.c:100:12: error: use of undeclared identifier 'RTCP_RTPFB'
rtcp_fb.c:100:32: error: use of undeclared identifier 'RTCP_PSFB'

@kgbook
Copy link

kgbook commented Oct 9, 2023

It should be defined as below according to RFC4585 6.1: Common Packet Format for Feedback Messages

#define  RTCP_RTPFB  205
#define  PSFB      206

or

typedef enum {
    RTCP_SR   = 200,
    RTCP_RR   = 201,
    RTCP_SDES = 202,
    RTCP_BYE  = 203,
    RTCP_APP  = 204,
    RTCP_RTPFB = 205,  // Transport layer FB message
    RTCP_PSFB = 206    // Payload-specific FB message
} rtcp_packet_type;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants