webrtc
                                
                                 webrtc copied to clipboard
                                
                                    webrtc copied to clipboard
                            
                            
                            
                        How can I receive or deal the RTX packet?
Your environment. Version: 3.1.42
It looks like rtx packets not supported by default and it is strange why rtx declared in func (m *MediaEngine) RegisterDefaultCodecs() Please see https://github.com/pion/webrtc/issues/1675 for details. I removed rtx and back to NACK. NACK works. May be I missed something. I'm new with pion
@alexpokotilo Thank you!
Hi!
We currently don't support RTX as a distinct SSRC. We do support NACK + RTX though, you can see the implementation here
HI @Sean-Der, first of all thanks for this stack! Your job is great and your team is wonderful! Could you please explain what do you mean by NACK+RTX ? Is it just sending NACK and receiving re-transmitted packets ? I am able to receive re-transmitted packets when I removed RTX stream from sdp. I still don't understand why RTX stream declared in sdp by default if it doesn't work. Could you please answer to a question I posted in RTX-support ticket here https://github.com/pion/webrtc/issues/1675#issuecomment-1178532894 Thanks a lot!
Hi!
We currently don't support RTX as a distinct SSRC. We do support NACK + RTX though, you can see the implementation here
Hello,Thank you for your reply.If I want support RTX as a distinct SSRC,how do I do?I see your reply in issue https://github.com/pion/webrtc/issues/1675,but I try to do it but I failed.Could you give a more complete plan?Thank you!
Hi @ChenMoGe2, why do you need RTX with distinct SSRC ? NACK works fine and as far as I understand does the same as RTX+distinct SSRC. Please explain your considerations as I'm a newbie too.
Hi @ChenMoGe2, why do you need RTX with distinct SSRC ? NACK works fine and as far as I understand do the same as RTX+distinct SSRC. Please explain your considerations as I'm newbie too.
Hello @alexpokotilo ,thank you for your reply. I use RTX with distinct SSRC because for packet loss statistics.If you just use NACK,the packet loss statistics maybe a negative number.RTX distinct SSRC is designed for it.The packet resend on the RTX ssrc and the packet loss statistics will be correct
Hi @ChenMoGe2, could you please give me something to read about this statistics measurement problem? Besides statistics re-transmission works the same, right ?
This has been implemented!
If a remote Peer sends a RTX with a distinct SSRC Pion now returns in via the Read. You can see a test for it here