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

Resolve getStats promise even if the MediaStream cannot be locked #1449

Merged
merged 1 commit into from
Aug 15, 2019

Conversation

lodoyun
Copy link
Contributor

@lodoyun lodoyun commented Aug 14, 2019

Description
This PR addresses an issue that affects the stats calls in ErizoJSController since potentially some of the promises for the stats call would not resolve.

This fixes an issue with Ackuaria not displaying stats for publishers in some situations.

We probably still need to investigate if this happens more than it should - the erizoAPI MediaStream structure still being alive while the erizo one is already destroyed.

[] It needs and includes Unit Tests

Changes in Client or Server public APIs

[] It includes documentation for these changes in /doc.

@lodoyun lodoyun changed the title Resolve getStats promise even if the stream cannot be locked Resolve getStats promise even if the MediaStream cannot be locked Aug 14, 2019
Copy link
Contributor

@jcague jcague left a comment

Choose a reason for hiding this comment

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

good catch!

@lodoyun lodoyun merged commit 6df6273 into lynckia:master Aug 15, 2019
@lodoyun lodoyun deleted the fix/alwaysResolveStatsPromise branch August 15, 2019 05:14
Arri98 pushed a commit to Arri98/licode that referenced this pull request Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants