-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
SRT: Fix srt2rtmp crash when streamid is too long(#2770) #2786
Conversation
Codecov Report
@@ Coverage Diff @@
## 4.0release #2786 +/- ##
===========================================
Coverage 60.32% 60.32%
===========================================
Files 121 121
Lines 50972 50972
===========================================
Hits 30747 30747
Misses 20225 20225 Continue to review full report at Codecov.
Translated to English:
|
@akanchi Thanks a lot |
@@ -15,6 +15,7 @@ | |||
#include <srs_app_config.hpp> | |||
#include <srs_kernel_stream.hpp> | |||
#include <list> | |||
#include <sstream> |
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 #include <sstream>
has already been imported in the srs_app_config.hpp
header file, so there is no need to repeat #include <sstream>
.
TRANS_BY_GPT3
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 crash issue has been verified and there are no other problems by using stringstream instead of a char array. Thanks to @akanchi for the pull request.
TRANS_BY_GPT3
Merged, thanks a lot @akanchi @runner365 @chundonglinlin |
No description provided.