mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine headers
This commit is contained in:
parent
92980a0ca2
commit
53357e92fe
16 changed files with 8 additions and 17 deletions
|
@ -34,7 +34,6 @@
|
|||
#include <srs_app_reload.hpp>
|
||||
#include <srs_app_async_call.hpp>
|
||||
#include <srs_app_thread.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
class SrsRequest;
|
||||
class SrsFileWriter;
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include <srs_protocol_kbps.hpp>
|
||||
#include <srs_app_reload.hpp>
|
||||
#include <srs_service_conn.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
class SrsWallClock;
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include <vector>
|
||||
|
||||
#include <srs_app_fragment.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
class SrsRequest;
|
||||
class SrsOriginHub;
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include <srs_kernel_file.hpp>
|
||||
#include <srs_app_async_call.hpp>
|
||||
#include <srs_app_fragment.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
class SrsFormat;
|
||||
class SrsSharedPtrMessage;
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
#include <srs_app_thread.hpp>
|
||||
#include <srs_app_reload.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
class SrsFFMPEG;
|
||||
class SrsConfDirective;
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include <srs_core.hpp>
|
||||
|
||||
#include <srs_app_reload.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
/**
|
||||
* the stage info to calc the age.
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include <srs_app_st.hpp>
|
||||
#include <srs_app_reload.hpp>
|
||||
#include <srs_core_performance.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
class SrsFormat;
|
||||
class SrsRtmpFormat;
|
||||
|
|
|
@ -86,7 +86,10 @@
|
|||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
// important performance options.
|
||||
// Time defines.
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
// Some important performance options.
|
||||
#include <srs_core_performance.hpp>
|
||||
|
||||
// free the p and set to NULL.
|
||||
|
|
|
@ -21,5 +21,7 @@
|
|||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <srs_core.hpp>
|
||||
|
||||
#include <srs_core_performance.hpp>
|
||||
|
||||
|
|
|
@ -24,9 +24,6 @@
|
|||
#ifndef SRS_CORE_PERFORMANCE_HPP
|
||||
#define SRS_CORE_PERFORMANCE_HPP
|
||||
|
||||
#include <srs_core.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
/**
|
||||
* this file defines the perfromance options.
|
||||
*/
|
||||
|
|
|
@ -21,5 +21,7 @@
|
|||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <srs_core.hpp>
|
||||
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
#ifndef SRS_CORE_TIME_HPP
|
||||
#define SRS_CORE_TIME_HPP
|
||||
|
||||
#include <srs_core.hpp>
|
||||
|
||||
// Time and duration unit, in us.
|
||||
typedef int64_t srs_utime_t;
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
class SrsBuffer;
|
||||
class SrsBitBuffer;
|
||||
|
|
|
@ -46,7 +46,6 @@ using namespace std;
|
|||
#include <srs_service_http_conn.hpp>
|
||||
#include <srs_service_rtmp_conn.hpp>
|
||||
#include <srs_service_utility.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
// pre-declare
|
||||
srs_error_t proxy_hls2rtmp(std::string hls, std::string rtmp);
|
||||
|
|
|
@ -48,7 +48,6 @@ using namespace std;
|
|||
#include <srs_core_performance.hpp>
|
||||
#include <srs_app_utility.hpp>
|
||||
#include <srs_core_autofree.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
// pre-declare
|
||||
srs_error_t run(SrsServer* svr);
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#define SRS_SERVICE_ST_HPP
|
||||
|
||||
#include <srs_core.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
#include <string>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue