-
Notifications
You must be signed in to change notification settings - Fork 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
Enabling rtcp stats subscriptions #892
Conversation
@@ -111,7 +111,8 @@ Erizo.GetUserMedia = function (config, callback, error) { | |||
} | |||
L.Logger.debug('Screen access on chrome stable, looking for extension'); | |||
try { | |||
chrome.runtime.sendMessage(extensionId, {getStream: true}, function (response){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just fixing linter. Not related with this PR
@@ -266,7 +266,7 @@ Erizo.ChromeStableStack = function (spec) { | |||
|
|||
localDesc.sdp = setMaxBW(localDesc.sdp); | |||
if (config.Sdp || config.maxAudioBW){ | |||
L.Logger.debug ('Updating with SDP renegotiation', spec.maxVideoBW, spec.maxAudioBW); | |||
L.Logger.debug('Updating with SDP renegotiation', spec.maxVideoBW, spec.maxAudioBW); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just fixing linter. Not related with this PR
localStream.addEventListener('access-accepted', function () { | ||
room.connect(); | ||
localStream.show('myVideo'); | ||
}); | ||
localStream.init(); | ||
} | ||
div.setAttribute('id', 'myVideo'); | ||
document.getElementById('videoContainer').appendChild(div); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
div.setAttribute was out of the div var definition scope
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
This PR enables the subscriptions to rtcp stats of specific streams using AMQP queues. This would replace the current rtcp report mechanism where every stream reports its stats when the configuration enables it.
[] It needs and includes Unit Tests
Changes in Client or Server public APIs
No changes in public server/client APIs. To use this features, AMQP queues must be used.
subscribeToStats
message to the same destination.subscribeToStats
message withinterval=0
to the same destination.For example:
[] It includes documentation for these changes in
/doc
.