Skip to content

Commit

Permalink
SRT: Rebase develop.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jun 14, 2022
1 parent 0957cdb commit 93fed38
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions trunk/src/app/srs_app_srt_conn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ using namespace std;
#include <srs_kernel_flv.hpp>
#include <srs_kernel_stream.hpp>
#include <srs_core_autofree.hpp>
#include <srs_rtmp_stack.hpp>
#include <srs_protocol_rtmp_stack.hpp>
#include <srs_protocol_srt.hpp>
#include <srs_app_config.hpp>
#include <srs_app_http_hooks.hpp>
Expand Down Expand Up @@ -341,7 +341,7 @@ srs_error_t SrsMpegtsSrtConn::acquire_publish()
return srs_error_wrap(err, "create bridger");
}

srt_source_->set_bridger(bridger);
srt_source_->set_bridge(bridger);
}

if ((err = srt_source_->on_publish()) != srs_success) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_srt_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using namespace std;

#include <srs_kernel_log.hpp>
#include <srs_kernel_utility.hpp>
#include <srs_service_log.hpp>
#include <srs_protocol_log.hpp>
#include <srs_app_config.hpp>
#include <srs_app_srt_conn.hpp>

Expand Down
4 changes: 2 additions & 2 deletions trunk/src/app/srs_app_srt_source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ using namespace std;
#include <srs_kernel_buffer.hpp>
#include <srs_kernel_stream.hpp>
#include <srs_core_autofree.hpp>
#include <srs_raw_avc.hpp>
#include <srs_rtmp_stack.hpp>
#include <srs_protocol_raw_avc.hpp>
#include <srs_protocol_rtmp_stack.hpp>
#include <srs_app_source.hpp>
#include <srs_app_statistic.hpp>

Expand Down
4 changes: 2 additions & 2 deletions trunk/src/app/srs_app_srt_source.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <vector>

#include <srs_kernel_ts.hpp>
#include <srs_service_st.hpp>
#include <srs_protocol_st.hpp>
#include <srs_app_source.hpp>

class SrsSharedPtrMessage;
Expand Down Expand Up @@ -154,7 +154,7 @@ class SrsSrtSource
// Update the authentication information in request.
virtual void update_auth(SrsRequest* r);
public:
void set_bridger(ISrsSrtSourceBridge *bridger);
void set_bridge(ISrsSrtSourceBridge *bridger);
public:
// Create consumer
// @param consumer, output the create consumer.
Expand Down
4 changes: 2 additions & 2 deletions trunk/src/app/srs_app_srt_utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_srt_utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <string>

#include <srs_kernel_log.hpp>
#include <srs_service_utility.hpp>
#include <srs_protocol_utility.hpp>

class SrsRequest;

Expand Down
2 changes: 1 addition & 1 deletion trunk/src/protocol/srs_protocol_srt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define SRS_PROTOCOL_SRT_HPP

#include <srs_core.hpp>
#include <srs_service_st.hpp>
#include <srs_protocol_st.hpp>

#include <map>
#include <vector>
Expand Down

0 comments on commit 93fed38

Please sign in to comment.