Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

WebRTC: Statistics similar to chrome://webrtc-inernals. #2149

Closed
siyangbing opened this issue Jan 15, 2021 · 9 comments
Closed

WebRTC: Statistics similar to chrome://webrtc-inernals. #2149

siyangbing opened this issue Jan 15, 2021 · 9 comments
Assignees
Labels
TransByAI Translated by AI/GPT. WebRTC WebRTC, RTC2RTMP or RTMP2RTC.
Milestone

Comments

@siyangbing
Copy link

siyangbing commented Jan 15, 2021

No description provided.

@siyangbing siyangbing changed the title srs rtmp推流 webrtc观看 ,如何获取webrtc客户端 srs rtmp推流 webrtc观看 ,如何获取webrtc客户端信息,控制台只能获取srs信息 Jan 15, 2021
@siyangbing siyangbing changed the title srs rtmp推流 webrtc观看 ,如何获取webrtc客户端信息,控制台只能获取srs信息 srs rtmp推流 webrtc观看 ,如何获取webrtc客户端信息,控制台只能获取推流信息 Jan 15, 2021
@ghostsf
Copy link
Contributor

ghostsf commented Jan 15, 2021

What information is needed for the webrtc streaming client?

@siyangbing
Copy link
Author

siyangbing commented Jan 16, 2021

I want to monitor the information of the push streaming client and the pull streaming client, but the current httpAPI cannot monitor the webrtc pull streaming client and does not return the corresponding information, while the RTMP can. Is there a problem with my configuration, or is this feature not currently supported? Please help.

@winlinvip winlinvip added the WebRTC WebRTC, RTC2RTMP or RTMP2RTC. label Jan 18, 2021
@duiniuluantanqin
Copy link
Member

duiniuluantanqin commented Jan 22, 2021

It is not currently supported. I have modified the code myself to add this feature. I will submit a PR next week, and you can try merging it into your code.

@ghostsf
Copy link
Contributor

ghostsf commented Jan 22, 2021

Good job

@duiniuluantanqin
Copy link
Member

duiniuluantanqin commented Jan 25, 2021

@siyangbing Please take a look at this PR #2169, which only handles webrtc pull streaming. The same principle applies to push streaming, and you can modify the code yourself.

@duiniuluantanqin
Copy link
Member

duiniuluantanqin commented Jan 28, 2021

@siyangbing Buy one get one free, and add another feature for kbps traffic statistics when playing webrtc (add kbps statistic for webrtc play 2b2b6c1)

@siyangbing
Copy link
Author

siyangbing commented Jan 28, 2021

Thank you so much, brother, you've been a great help.

@winlinvip
Copy link
Member

See #1657

@winlinvip winlinvip changed the title srs rtmp推流 webrtc观看 ,如何获取webrtc客户端信息,控制台只能获取推流信息 WebRTC: 提供类似chrome://webrtc-internals的统计信息 Aug 22, 2021
@winlinvip winlinvip added this to the SRS 5.0 release milestone Aug 26, 2021
@winlinvip
Copy link
Member

SRS will support statistics for WebRTC by both HTTP API and Prometheus exporter see #2899

@winlinvip winlinvip changed the title WebRTC: 提供类似chrome://webrtc-internals的统计信息 WebRTC: Statistics similar to chrome://webrtc-inernals. 提供类似chrome://webrtc-internals的统计信息 Jan 2, 2023
@winlinvip winlinvip modified the milestones: 5.0, 6.0 Jan 2, 2023
@winlinvip winlinvip changed the title WebRTC: Statistics similar to chrome://webrtc-inernals. 提供类似chrome://webrtc-internals的统计信息 WebRTC: Statistics similar to chrome://webrtc-inernals. Jul 18, 2023
@ossrs ossrs deleted a comment from siyangbing Jul 18, 2023
@ossrs ossrs deleted a comment from siyangbing Jul 18, 2023
@ossrs ossrs locked and limited conversation to collaborators Jul 18, 2023
@winlinvip winlinvip converted this issue into discussion #3687 Jul 18, 2023
@winlinvip winlinvip added EnglishNative This issue is conveyed exclusively in English. TransByAI Translated by AI/GPT. and removed EnglishNative This issue is conveyed exclusively in English. labels Jul 28, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
TransByAI Translated by AI/GPT. WebRTC WebRTC, RTC2RTMP or RTMP2RTC.
Projects
None yet
Development

No branches or pull requests

4 participants