mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Improve README and documents with AI. v5.0.153. v6.0.43 (#3538)
* Improve README with AI and add new features 1. Update README file with AI to make it more informative and user-friendly 2. Add a detailed table of contents (TOC) with an introduction for easy navigation 3. Introduce an auto-detecting Automake feature that displays the correct installation command 4. Add support for SRT to HTTP-TS config file 5. Refine the WHIP delete location URL 6. Add support for disabling encryption for WHIP or WHEP This pull request aims to enhance the quality of the project by introducing innovative features and making the necessary updates. These updates will help users navigate the project more efficiently while also improving the overall project's quality. --------- Co-authored-by: ChenGH <chengh_math@126.com> Co-authored-by: john <hondaxiao@tencent.com>
This commit is contained in:
parent
7cf8c48157
commit
78f1ebfcb1
8 changed files with 194 additions and 384 deletions
|
@ -685,15 +685,26 @@ srs_error_t SrsGoApiRtcWhip::do_serve_http(ISrsHttpResponseWriter* w, ISrsHttpMe
|
|||
ruc->req_->vhost = parsed_vhost->arg0();
|
||||
}
|
||||
|
||||
srs_trace("RTC whip %s %s, clientip=%s, app=%s, stream=%s, offer=%dB, eip=%s, codec=%s, param=%s",
|
||||
// For client to specifies whether encrypt by SRTP.
|
||||
string srtp = r->query_get("encrypt");
|
||||
string dtls = r->query_get("dtls");
|
||||
|
||||
srs_trace("RTC whip %s %s, clientip=%s, app=%s, stream=%s, offer=%dB, eip=%s, codec=%s, srtp=%s, dtls=%s, param=%s",
|
||||
action.c_str(), ruc->req_->get_stream_url().c_str(), clientip.c_str(), ruc->req_->app.c_str(), ruc->req_->stream.c_str(),
|
||||
remote_sdp_str.length(), eip.c_str(), codec.c_str(), ruc->req_->param.c_str()
|
||||
remote_sdp_str.length(), eip.c_str(), codec.c_str(), srtp.c_str(), dtls.c_str(), ruc->req_->param.c_str()
|
||||
);
|
||||
|
||||
ruc->eip_ = eip;
|
||||
ruc->codec_ = codec;
|
||||
ruc->publish_ = (action == "publish");
|
||||
ruc->dtls_ = ruc->srtp_ = true;
|
||||
|
||||
// For client to specifies whether encrypt by SRTP.
|
||||
ruc->dtls_ = (dtls != "false");
|
||||
if (srtp.empty()) {
|
||||
ruc->srtp_ = _srs_config->get_rtc_server_encrypt();
|
||||
} else {
|
||||
ruc->srtp_ = (srtp != "false");
|
||||
}
|
||||
|
||||
// TODO: FIXME: It seems remote_sdp doesn't represents the full SDP information.
|
||||
ruc->remote_sdp_str_ = remote_sdp_str;
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 152
|
||||
#define VERSION_REVISION 153
|
||||
|
||||
#endif
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
#define VERSION_MAJOR 6
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 42
|
||||
#define VERSION_REVISION 43
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue