1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

SRT: Rebase develop.

This commit is contained in:
winlin 2022-06-14 20:17:00 +08:00
parent 0957cdb944
commit 93fed3874b
7 changed files with 11 additions and 11 deletions

View file

@ -13,7 +13,7 @@ using namespace std;
#include <srs_kernel_utility.hpp>
#include <srs_kernel_error.hpp>
#include <srs_protocol_utility.hpp>
#include <srs_rtmp_stack.hpp>
#include <srs_protocol_rtmp_stack.hpp>
#include <srs_kernel_utility.hpp>
// See streamid of https://github.com/ossrs/srs/issues/2893
@ -107,7 +107,7 @@ bool srs_srt_streamid_info(const std::string& streamid, SrtMode& mode, std::stri
if (!params.empty()) {
url_subpath.append("?");
url_subpath.append(params);
url_subpath.pop_back(); // remove last '&'
url_subpath = url_subpath.substr(0, url_subpath.length() - 1); // remove last '&'
}
return true;