Coder Social home page Coder Social logo

RTCP failure handling about uvgrtp HOT 4 CLOSED

jrsnen avatar jrsnen commented on September 26, 2024
RTCP failure handling

from uvgrtp.

Comments (4)

wowaser avatar wowaser commented on September 26, 2024

Do you mean a sort of timeout mechanism that will drop the participant after it has been unresponsive N seconds?

from uvgrtp.

jrsnen avatar jrsnen commented on September 26, 2024

@wowaser something like that. Based on your comment from #180:

When one side crashes and is restarted, the RTCP goes crazy. Functionally, RTP and RTCP still work, because they are connectionless. This is because when restarted, the stream gets new random SSRC and starts sending RR/SR and other RTCP packets with that SSRC. If the receiver is restarted, the sender side spams this (the "new" incomplete participant does not have a socket allocated): image If the sender is restarted, the receiver side spams this: image

In both cases, the RTCP thread on the receiver side never exits, even after destructors are called and everything goes out of scope.

This situation could most likely be handled better. I have not fully investigated all the issues related to this.

from uvgrtp.

wowaser avatar wowaser commented on September 26, 2024

Well, the one with sockets happens because the participant is added not on stream initialization, but as a "dummy" after the RR/SR from it is received. So no sockets have been created for that SSRC and it starts complaining about that

from uvgrtp.

tampsa avatar tampsa commented on September 26, 2024

Fixed by 767c504

from uvgrtp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.