-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
RTC::Consumer::GetStats() | failed assertion `it != this->mapProfileRtpStream.end()': effective profile does not map to a rtp stream #160
Comments
It seems that the same may crash on |
It seems to me that |
your suspicion is correct :-) |
It has crashed again in 2.0.4:
|
It happens very often by just running: CONSUMER.on('stats', (stats) => console.warn(JSON.stringify(stats, null, ' ')));
CONSUMER.enableStats(); AFAIS mostly when high stream dies. |
AFAIS this commit e28738f fixed nothing. // Target profile removed. Recalculate.
else if (this->targetProfile == profile)
{
RecalculateTargetProfile();
} It may perfectly happen that both |
Proposal: we need a test unit for the |
a961e11 seems to fix the crash, and I would also say that I don't see frozen video anymore (#164) but I cannot confirm it at 100%. Said that, there is something I don't like in the https://github.com/versatica/mediasoup/blob/master/worker/src/RTC/Consumer.cpp#L356 Why are we setting there the new |
Theoretically fixed in 2.0.5 |
It happened once having stats retrieval enabled.
The text was updated successfully, but these errors were encountered: