diff --git a/src/RTCConnectionStats.tsx b/src/RTCConnectionStats.tsx index dba676b1..7e5ba1cd 100644 --- a/src/RTCConnectionStats.tsx +++ b/src/RTCConnectionStats.tsx @@ -28,7 +28,7 @@ export const RTCConnectionStats: FC = ({ audio, video, ...rest }) => { {"jitter" in audio && typeof audio.jitter === "number" && ( - +  {(audio.jitter * 1000).toFixed(0)}ms )} @@ -42,12 +42,12 @@ export const RTCConnectionStats: FC = ({ audio, video, ...rest }) => { )} {video?.framesPerSecond && ( - +  {video.framesPerSecond.toFixed(0)}fps )} {"jitter" in video && typeof video.jitter === "number" && ( - +  {(video.jitter * 1000).toFixed(0)}ms )} @@ -55,14 +55,14 @@ export const RTCConnectionStats: FC = ({ audio, video, ...rest }) => { typeof video.frameHeight === "number" && "frameWidth" in video && typeof video.frameWidth === "number" && ( - +  {video.frameWidth}x{video.frameHeight} )} {"qualityLimitationReason" in video && typeof video.qualityLimitationReason === "string" && video.qualityLimitationReason !== "none" && ( - +  {video.qualityLimitationReason} )}