mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #495, decrease the srs-librtmp size. 2.0.193
This commit is contained in:
parent
65e4bf2e77
commit
a3c229472e
15 changed files with 60 additions and 3 deletions
|
@ -23,6 +23,8 @@
|
|||
|
||||
#include <srs_http_stack.hpp>
|
||||
|
||||
#if !defined(SRS_EXPORT_LIBRTMP)
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
|
@ -779,3 +781,6 @@ char* ISrsHttpMessage::http_ts_send_buffer()
|
|||
{
|
||||
return _http_ts_send_buffer;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -25,10 +25,12 @@
|
|||
#define SRS_PROTOCOL_HTTP_HPP
|
||||
|
||||
/*
|
||||
#include <srs_http_stack.hpp>
|
||||
*/
|
||||
#include <srs_http_stack.hpp>
|
||||
*/
|
||||
#include <srs_core.hpp>
|
||||
|
||||
#if !defined(SRS_EXPORT_LIBRTMP)
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -536,3 +538,6 @@ public:
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -23,6 +23,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_rtsp_stack.hpp>
|
||||
|
||||
#if !defined(SRS_EXPORT_LIBRTMP)
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <map>
|
||||
using namespace std;
|
||||
|
@ -1182,3 +1184,5 @@ int SrsRtspStack::recv_token(std::string& token, SrsRtspTokenState& state, char
|
|||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_core.hpp>
|
||||
|
||||
#if !defined(SRS_EXPORT_LIBRTMP)
|
||||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
||||
|
@ -714,3 +716,5 @@ private:
|
|||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue