Skip to content

Missing remote-kind reports from getStats() #3079

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
icypow opened this issue Apr 4, 2025 · 2 comments
Open

Missing remote-kind reports from getStats() #3079

icypow opened this issue Apr 4, 2025 · 2 comments

Comments

@icypow
Copy link

icypow commented Apr 4, 2025

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,
891d96f
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

@ashutoshmishraji
Copy link

ashutoshmishraji commented Apr 10, 2025

@icypow During my testing, audio is working fine, but video is missing. It looks like remote-outbound-rtp for video wasn't supported prior to 2024, based on the information available. See more RTCRemoteOutboundRtpStreamStats (Chrome)
Starting Chrome 125 (I didn’t find the WebRTC release notes for Chrome 125), the getStats API now returns the missing remote-outbound-rtp report for video.

@icypow
Copy link
Author

icypow commented Apr 10, 2025

@ashutoshmishraji Switched to 135 Chrome build and not recieved any reports video-kind. As it mentioned in your link I recieve both remote- and inboud- reports for audio and still just inbound- for video

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants