Skip to content

Commit

Permalink
log playoutDelayHint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vpalmisano committed May 15, 2024
1 parent bf45e1a commit d43e8ad
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions scripts/peer-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,7 @@ window.RTCPeerConnection = function (conf, options) {
'playoutDelayHint',
(value, oldValue) => {
log(
`RTCPeerConnection-${id} receiver ${transceiver.receiver.track.kind} playoutDelayHint`,
{
value,
oldValue,
},
`RTCPeerConnection-${id} receiver ${transceiver.receiver.track.kind} playoutDelayHint ${oldValue} -> ${value}`,
)
},
)
Expand All @@ -136,8 +132,7 @@ window.RTCPeerConnection = function (conf, options) {
'jitterBufferTarget',
(value, oldValue) => {
log(
`RTCPeerConnection-${id} receiver ${transceiver.receiver.track.kind} jitterBufferTarget`,
{ value, oldValue },
`RTCPeerConnection-${id} receiver ${transceiver.receiver.track.kind} jitterBufferTarget ${oldValue} -> ${value}`,
)
},
)
Expand Down

0 comments on commit d43e8ad

Please sign in to comment.