Changeset 735
- Timestamp:
- 02/04/12 00:28:35 (4 months ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
3rdparty/tinyxml/tinyxml.h (modified) (1 diff)
-
cleanup.sh (modified) (2 diffs)
-
constants/constants.lua (modified) (4 diffs)
-
sources/common/include/defines.h (modified) (5 diffs)
-
sources/thelib/src/protocols/cli/inboundbasecliprotocol.cpp (modified) (1 diff)
-
sources/thelib/src/protocols/rtmp/basertmpappprotocolhandler.cpp (modified) (1 diff)
-
sources/thelib/src/protocols/rtp/basertspappprotocolhandler.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/3rdparty/tinyxml/tinyxml.h
r419 r735 40 40 #include <iostream> 41 41 #include <sstream> 42 using namespace std; 42 43 43 44 // Help out windows: -
trunk/cleanup.sh
r347 r735 12 12 # for i in `find . -type f -name "$name"`;do rm -rf $i;done 13 13 #done 14 14 15 15 16 16 … … 71 71 for i in `find ./ -type f -name "*.o"`;do rm -rf $i;done 72 72 for i in `find ./ -type f -name "*.deb"`;do rm -rf $i;done 73 for i in `find . -type f -name "evostream\.[0-9]*\.[0-9]*"`;do rm -rf $i;done 73 74 -
trunk/constants/constants.lua
r696 r735 1 BRANDING_COMPANY_NAME="C++ RTMP Server" 2 BRANDING_WEB="www.rtmpd.com" 3 BRANDING_EMAIL="contact@rtmpd.com" 4 BRANDING_PRODUCT_NAME=BRANDING_COMPANY_NAME 5 BRANDING_WEB_HTTP="http://"..BRANDING_WEB 6 BRANDING_BANNER=BRANDING_PRODUCT_NAME.." ("..BRANDING_WEB..")" 7 1 8 constants={ 9 BRANDING_COMPANY_NAME=BRANDING_COMPANY_NAME, 10 BRANDING_WEB=BRANDING_WEB, 11 BRANDING_EMAIL=BRANDING_EMAIL, 12 BRANDING_PRODUCT_NAME=BRANDING_PRODUCT_NAME, 13 BRANDING_WEB_HTTP=BRANDING_WEB_HTTP, 14 BRANDING_BANNER=BRANDING_BANNER, 2 15 --configuration, 3 16 CONF_DAEMON="daemon", … … 69 82 CONF_PROTOCOL_INBOUND_RAW_HTTP_STREAM="inboundRawHttpStream", 70 83 CONF_PROTOCOL_INBOUND_RAW_HTTPS_STREAM="inboundRawHttpsStream", 84 85 -- Pass-Through protocols 86 CONF_PROTOCOL_UDP_PASSTHROUGH="udpPassThrough", 87 CONF_PROTOCOL_TCP_PASSTHROUGH="tcpPassThrough", 71 88 72 89 CONF_NUMBER_OF_THREADS="numberOfThreads", … … 167 184 HTTP_HEADERS_CACHE_CONTROL_NO_CACHE="no-cache", 168 185 HTTP_HEADERS_SERVER="Server", 169 HTTP_HEADERS_SERVER_US= "C++ RTMP Server (http://www.rtmpd.com)",186 HTTP_HEADERS_SERVER_US=BRANDING_BANNER, 170 187 HTTP_HEADERS_X_POWERED_BY="X-Powered-By", 171 HTTP_HEADERS_X_POWERED_BY_US= "C++ RTMP Server (http://www.rtmpd.com)",188 HTTP_HEADERS_X_POWERED_BY_US=BRANDING_BANNER, 172 189 HTTP_HEADERS_TRANSFER_ENCODING="Transfer-Encoding", 173 190 HTTP_HEADERS_TRANSFER_ENCODING_CHUNKED="chunked", … … 194 211 RTSP_HEADERS_CONTENT_LENGTH="Content-Length", 195 212 RTSP_HEADERS_SERVER="Server", 196 RTSP_HEADERS_SERVER_US= "C++ RTMP Server (http://www.rtmpd.com)",213 RTSP_HEADERS_SERVER_US=BRANDING_BANNER, 197 214 RTSP_HEADERS_X_POWERED_BY="X-Powered-By", 198 RTSP_HEADERS_X_POWERED_BY_US= "C++ RTMP Server (http://www.rtmpd.com)",215 RTSP_HEADERS_X_POWERED_BY_US=BRANDING_BANNER, 199 216 RTSP_HEADERS_RANGE="Range", 200 217 RTSP_HEADERS_RANGE_NOW="now", -
trunk/sources/common/include/defines.h
r732 r735 21 21 #define AM_SERVERID "serverId" 22 22 #define AM_SERVERID_LEN 8 23 #define BRANDING_BANNER "C++ RTMP Server (www.rtmpd.com)" 24 #define BRANDING_BANNER_LEN 31 25 #define BRANDING_COMPANY_NAME "C++ RTMP Server" 26 #define BRANDING_COMPANY_NAME_LEN 15 27 #define BRANDING_EMAIL "contact@rtmpd.com" 28 #define BRANDING_EMAIL_LEN 17 29 #define BRANDING_PRODUCT_NAME "C++ RTMP Server" 30 #define BRANDING_PRODUCT_NAME_LEN 15 31 #define BRANDING_WEB "www.rtmpd.com" 32 #define BRANDING_WEB_LEN 13 33 #define BRANDING_WEB_HTTP "http://www.rtmpd.com" 34 #define BRANDING_WEB_HTTP_LEN 20 23 35 #define CM "controlMessage" 24 36 #define CM_LEN 14 … … 377 389 #define HTTP_HEADERS_SERVER "Server" 378 390 #define HTTP_HEADERS_SERVER_LEN 6 379 #define HTTP_HEADERS_SERVER_US " EVOSTREAM Streaming Router (www.evostream.com)"380 #define HTTP_HEADERS_SERVER_US_LEN 46391 #define HTTP_HEADERS_SERVER_US "C++ RTMP Server (www.rtmpd.com)" 392 #define HTTP_HEADERS_SERVER_US_LEN 31 381 393 #define HTTP_HEADERS_TRANSFER_ENCODING "Transfer-Encoding" 382 394 #define HTTP_HEADERS_TRANSFER_ENCODING_LEN 17 … … 389 401 #define HTTP_HEADERS_X_POWERED_BY "X-Powered-By" 390 402 #define HTTP_HEADERS_X_POWERED_BY_LEN 12 391 #define HTTP_HEADERS_X_POWERED_BY_US " EVOSTREAM Streaming Router (www.evostream.com)"392 #define HTTP_HEADERS_X_POWERED_BY_US_LEN 46403 #define HTTP_HEADERS_X_POWERED_BY_US "C++ RTMP Server (www.rtmpd.com)" 404 #define HTTP_HEADERS_X_POWERED_BY_US_LEN 31 393 405 #define HTTP_METHOD "method" 394 406 #define HTTP_METHOD_LEN 6 … … 747 759 #define RTSP_HEADERS_SERVER "Server" 748 760 #define RTSP_HEADERS_SERVER_LEN 6 749 #define RTSP_HEADERS_SERVER_US " EVOSTREAM Streaming Router (www.evostream.com)"750 #define RTSP_HEADERS_SERVER_US_LEN 46761 #define RTSP_HEADERS_SERVER_US "C++ RTMP Server (www.rtmpd.com)" 762 #define RTSP_HEADERS_SERVER_US_LEN 31 751 763 #define RTSP_HEADERS_SESSION "Session" 752 764 #define RTSP_HEADERS_SESSION_LEN 7 … … 755 767 #define RTSP_HEADERS_X_POWERED_BY "X-Powered-By" 756 768 #define RTSP_HEADERS_X_POWERED_BY_LEN 12 757 #define RTSP_HEADERS_X_POWERED_BY_US " EVOSTREAM Streaming Router (www.evostream.com)"758 #define RTSP_HEADERS_X_POWERED_BY_US_LEN 46769 #define RTSP_HEADERS_X_POWERED_BY_US "C++ RTMP Server (www.rtmpd.com)" 770 #define RTSP_HEADERS_X_POWERED_BY_US_LEN 31 759 771 #define RTSP_METHOD "method" 760 772 #define RTSP_METHOD_LEN 6 -
trunk/sources/thelib/src/protocols/cli/inboundbasecliprotocol.cpp
r734 r735 22 22 #include "application/clientapplicationmanager.h" 23 23 #include "protocols/cli/basecliappprotocolhandler.h" 24 #include "netio/netio.h"25 24 26 25 InboundBaseCLIProtocol::InboundBaseCLIProtocol(uint64_t type) -
trunk/sources/thelib/src/protocols/rtmp/basertmpappprotocolhandler.cpp
r722 r735 972 972 //1. Read stream index and offset in millisecond 973 973 uint32_t streamId = VH_SI(request); 974 double timeOffset = 0.0;975 if ((VariantType) M_INVOKE_PARAM(request, 1) == V_DOUBLE)976 timeOffset = M_INVOKE_PARAM(request, 1);977 974 978 975 //2. Find the corresponding outbound stream -
trunk/sources/thelib/src/protocols/rtp/basertspappprotocolhandler.cpp
r734 r735 1657 1657 result += format("o=- %"PRIu32" 0 IN IP4 %s\r\n", pFrom->GetId(), STR(nearAddress)); 1658 1658 result += "s=" + targetStreamName + "\r\n"; 1659 result += "u= www.evostream.com\r\n";1660 result += "e= contact@evostream.com\r\n";1659 result += "u="BRANDING_WEB"\r\n"; 1660 result += "e="BRANDING_EMAIL"\r\n"; 1661 1661 result += "c=IN IP4 " + nearAddress + "\r\n"; 1662 1662 result += "t=0 0\r\n";
Note: See TracChangeset
for help on using the changeset viewer.
