Adds logging for results of mungeLocalVideoSSRC.

This commit is contained in:
damencho 2015-12-17 16:22:07 -06:00
parent 589380c7b3
commit baf31aa9f3
1 changed files with 2 additions and 0 deletions

View File

@ -368,6 +368,7 @@ TraceablePeerConnection.prototype.createOffer
}
offer = SSRCReplacement.mungeLocalVideoSSRC(offer);
self.trace('createOfferOnSuccess::mungeLocalVideoSSRC', dumpSDP(offer));
if (config.enableSimulcast && self.simulcast.isSupported()) {
offer = self.simulcast.mungeLocalDescription(offer);
@ -399,6 +400,7 @@ TraceablePeerConnection.prototype.createAnswer
// munge local video SSRC
answer = SSRCReplacement.mungeLocalVideoSSRC(answer);
self.trace('createAnswerOnSuccess::mungeLocalVideoSSRC', dumpSDP(answer));
if (config.enableSimulcast && self.simulcast.isSupported()) {
answer = self.simulcast.mungeLocalDescription(answer);