From 78b778fb938fb08ec9549e77607fe4c08f87b373 Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 7 Jun 2022 19:44:26 +0800 Subject: [PATCH] SRT: Rename srs_service_st_srt to srs_protocol_srt --- trunk/configure | 2 +- trunk/src/app/srs_app_srt_conn.cpp | 2 +- trunk/src/app/srs_app_srt_conn.hpp | 2 +- trunk/src/app/srs_app_srt_listener.hpp | 2 +- trunk/src/app/srs_app_srt_server.hpp | 2 +- trunk/src/main/srs_main_server.cpp | 2 +- .../protocol/{srs_service_st_srt.cpp => srs_protocol_srt.cpp} | 2 +- .../protocol/{srs_service_st_srt.hpp => srs_protocol_srt.hpp} | 4 ++-- trunk/src/utest/srs_utest_srt.cpp | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) rename trunk/src/protocol/{srs_service_st_srt.cpp => srs_protocol_srt.cpp} (99%) rename trunk/src/protocol/{srs_service_st_srt.hpp => srs_protocol_srt.hpp} (99%) diff --git a/trunk/configure b/trunk/configure index e63f300c5..86cf95eed 100755 --- a/trunk/configure +++ b/trunk/configure @@ -228,7 +228,7 @@ MODULE_FILES=("srs_protocol_amf0" "srs_protocol_io" "srs_protocol_conn" "srs_pro "srs_protocol_format" "srs_protocol_log" "srs_protocol_st" "srs_protocol_http_client" "srs_protocol_http_conn" "srs_protocol_rtmp_conn") if [[ $SRS_SRT == YES ]]; then - MODULE_FILES+=("srs_service_st_srt") + MODULE_FILES+=("srs_protocol_srt") ModuleLibIncs+=(${LibSRTRoot}) fi if [[ $SRS_RTC == YES ]]; then diff --git a/trunk/src/app/srs_app_srt_conn.cpp b/trunk/src/app/srs_app_srt_conn.cpp index 6cf2fe779..4b44fba33 100644 --- a/trunk/src/app/srs_app_srt_conn.cpp +++ b/trunk/src/app/srs_app_srt_conn.cpp @@ -13,7 +13,7 @@ using namespace std; #include #include #include -#include +#include #include #include #include diff --git a/trunk/src/app/srs_app_srt_conn.hpp b/trunk/src/app/srs_app_srt_conn.hpp index 40bf99743..84a1cf79d 100644 --- a/trunk/src/app/srs_app_srt_conn.hpp +++ b/trunk/src/app/srs_app_srt_conn.hpp @@ -12,7 +12,7 @@ #include #include -#include +#include #include #include #include diff --git a/trunk/src/app/srs_app_srt_listener.hpp b/trunk/src/app/srs_app_srt_listener.hpp index 6bd3e2501..fe9f9466b 100644 --- a/trunk/src/app/srs_app_srt_listener.hpp +++ b/trunk/src/app/srs_app_srt_listener.hpp @@ -9,7 +9,7 @@ #include #include -#include +#include #include diff --git a/trunk/src/app/srs_app_srt_server.hpp b/trunk/src/app/srs_app_srt_server.hpp index 577638aca..886ac21f9 100644 --- a/trunk/src/app/srs_app_srt_server.hpp +++ b/trunk/src/app/srs_app_srt_server.hpp @@ -9,7 +9,7 @@ #include -#include +#include #include #include diff --git a/trunk/src/main/srs_main_server.cpp b/trunk/src/main/srs_main_server.cpp index e02ef786e..dd16864d8 100644 --- a/trunk/src/main/srs_main_server.cpp +++ b/trunk/src/main/srs_main_server.cpp @@ -44,7 +44,7 @@ using namespace std; #endif #ifdef SRS_SRT -#include +#include #include #endif diff --git a/trunk/src/protocol/srs_service_st_srt.cpp b/trunk/src/protocol/srs_protocol_srt.cpp similarity index 99% rename from trunk/src/protocol/srs_service_st_srt.cpp rename to trunk/src/protocol/srs_protocol_srt.cpp index 9aed09fdd..76520c3d7 100644 --- a/trunk/src/protocol/srs_service_st_srt.cpp +++ b/trunk/src/protocol/srs_protocol_srt.cpp @@ -4,7 +4,7 @@ // SPDX-License-Identifier: MIT or MulanPSL-2.0 // -#include +#include #include diff --git a/trunk/src/protocol/srs_service_st_srt.hpp b/trunk/src/protocol/srs_protocol_srt.hpp similarity index 99% rename from trunk/src/protocol/srs_service_st_srt.hpp rename to trunk/src/protocol/srs_protocol_srt.hpp index c96d07110..64116892f 100644 --- a/trunk/src/protocol/srs_service_st_srt.hpp +++ b/trunk/src/protocol/srs_protocol_srt.hpp @@ -4,8 +4,8 @@ // SPDX-License-Identifier: MIT or MulanPSL-2.0 // -#ifndef SRS_SERVICE_ST_SRT_HPP -#define SRS_SERVICE_ST_SRT_HPP +#ifndef SRS_PROTOCOL_SRT_HPP +#define SRS_PROTOCOL_SRT_HPP #include #include diff --git a/trunk/src/utest/srs_utest_srt.cpp b/trunk/src/utest/srs_utest_srt.cpp index 3b17debb6..1fd5d966d 100644 --- a/trunk/src/utest/srs_utest_srt.cpp +++ b/trunk/src/utest/srs_utest_srt.cpp @@ -7,7 +7,7 @@ #include #include -#include +#include #include #include #include