-
-
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
For #307, support play stream by WebRTC. #1637
Conversation
This reverts commit 7c8a35a.
SrsStatistic* stat = SrsStatistic::instance(); | ||
|
||
// path: {pattern}{stream_id} | ||
// e.g. /api/v1/streams/100 pattern= /api/v1/streams/, stream_id=100 |
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.
/api/v1/sdp/
@@ -37,7 +37,7 @@ | |||
#include <srs_kernel_utility.hpp> | |||
|
|||
// the max size of a line of log. | |||
#define LOG_MAX_SIZE 4096 | |||
#define LOG_MAX_SIZE 4096000 |
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.
TODO: remove debug code.
@@ -1193,3 +1193,37 @@ void srs_api_dump_summaries(SrsJsonObject* obj) | |||
sys->set("conn_srs", SrsJsonAny::integer(nrs->nb_conn_srs)); | |||
} | |||
|
|||
string dump_string_hex(const std::string& str, const int& max_len) |
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.
TODO: Maybe already implemented API
Merged Zhihong's changes into the feature/rtc branch, and will merge Shuwei's code later. Opened a new PR: #1638. This PR will be closed for now.
|
No description provided.