-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
some commits #2169
some commits #2169
Conversation
👍 |
@winlinvip This commit (add kbps statistic for webrtc play 2b2b6c1) added the kbps statistic feature, only for webrtc play functionality.
|
This webrtc live streaming is not good, right?
|
|
Codecov Report
@@ Coverage Diff @@
## develop #2169 +/- ##
===========================================
+ Coverage 56.25% 56.29% +0.04%
===========================================
Files 125 125
Lines 54374 54417 +43
===========================================
+ Hits 30586 30633 +47
+ Misses 23788 23784 -4 | Impacted Files | Coverage Δ | |' Translated to English while maintaining the markdown structure: '| Impacted Files | Coverage Δ | | Translated to English while maintaining the markdown structure: | trunk/src/app/srs_app_rtc_api.cpp | Continue to review full report at Codecov.
Translated to English while maintaining the markdown structure: |
|
|
@@ -134,9 +135,12 @@ class SrsTcpListener : public ISrsCoroutineHandler | |||
}; | |||
|
|||
// TODO: FIXME: Rename it. Refine it for performance issue. | |||
class SrsUdpMuxSocket | |||
class SrsUdpMuxSocket : public ISrsProtocolStatistic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The structure of 'SrsUdpMuxSocket' is unreasonable and too large. It will be split in version 4.0. Therefore, the corresponding statistics may be better implemented after the split.
TRANS_BY_GPT3
string tcUrl; | ||
srs_parse_rtmp_url(streamurl, tcUrl, stream_name); | ||
string tcUrl; | ||
srs_parse_rtmp_url(streamurl, tcUrl, stream_name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Every time I see the URL, I want to make changes to it. This part also needs to be improved before it is suitable for statistics.
Originally, there was only RTMP URL, but now it would be better to use HTTP URL specification.
There are also many and miscellaneous functions for parsing the URL, which need to be improved for better performance.
TRANS_BY_GPT3
Codecov Report
@@ Coverage Diff @@
## develop #2169 +/- ##
===========================================
- Coverage 42.74% 38.32% -4.42%
===========================================
Files 101 108 +7
Lines 35972 40187 +4215
===========================================
+ Hits 15376 15402 +26
- Misses 20596 24785 +4189 | Impacted Files | Coverage Δ | |' Translated to English while maintaining the markdown structure: '| Impacted Files | Coverage Δ | | Translated to English while maintaining the markdown structure: | trunk/src/app/srs_app_rtc_api.cpp | Continue to review full report at Codecov.
Translated to English while maintaining the markdown structure: |
|
add http hook callback for webrtc;
This PR should be able to be closed, I see there are other PRs.
|
add statistic info for webrtc play
for #2149