Skip to content

Commit

Permalink
Merge pull request #15 from Master2022E/14-streamline-stats-logging-t…
Browse files Browse the repository at this point in the history
…o-observertc

Unify logging to ObserveRTC and fix #14
  • Loading branch information
Thomsen96 authored Nov 14, 2022
2 parents c3153ff + 876521a commit 1894bc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/screens/CallScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function CallScreen({ clientId }) {
monitor.addExtensionStats({
type: "OUT_BOUND_RTC",
payload: JSON.stringify({
stats
"stats": stats
}),
})
/* stats contains: {
Expand Down Expand Up @@ -192,7 +192,7 @@ function CallScreen({ clientId }) {
monitor.addExtensionStats({
type: "REMOTE_IN_BOUND_RTC",
payload: JSON.stringify({
remoteInboundRtpStats
"stats": remoteInboundRtpStats
}),
})

Expand Down Expand Up @@ -256,7 +256,7 @@ function CallScreen({ clientId }) {
monitor.addExtensionStats({
type: "IN_BOUND_RTC",
payload: JSON.stringify({
stats
"stats": stats
}),
})

Expand Down Expand Up @@ -306,7 +306,7 @@ function CallScreen({ clientId }) {
monitor.addExtensionStats({
type: "REMOTE_OUT_BOUND_RTC",
payload: JSON.stringify({
remoteOutboundRtpStats
"stats": remoteOutboundRtpStats
}),
})

Expand Down

0 comments on commit 1894bc6

Please sign in to comment.