webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

Missing remote-kind reports from getStats()

Open icypow opened this issue 6 months ago • 2 comments

Your environment.

  • Version: 4.0.14
  • Browser: Google Chrome
  • Other Information -

What did you do?

Connecting videostream to pion then sending it to web.

videoTrack, err := webrtc.NewTrackLocalStaticSample(webrtc.RTPCodecCapability{MimeType: ph.Conf.GetVideoConfig().MimeType}, "video", "test")
if rtpSender, err := PeerConnection.AddTrack(videoTrack); err == nil {
    go ph.processRTCP(rtpSender)
} else {
    return err
}

What did you expect?

Getting RTCRemoteOutboundRtpStreamStats from backend.

What happened?

Only getting RTCInboundRtpStreamStats which are probably generated on front-end.

... Based on this commit, https://github.com/pion/webrtc/commit/891d96fe0e5e86df51f6586040d9e3e5eac9d748 I assumed that support for these stats had been implemented. Please tell me if this is really the case. If so, what could be the reason for the lack of these reports? It would be nice to permanently recieve round-trip latency numbers

icypow avatar Apr 04 '25 11:04 icypow