[rtmpdump] r345 - trunk/rtmpgw.c
hyc
subversion at mplayerhq.hu
Sat Mar 13 22:38:46 CET 2010
Author: hyc
Date: Sat Mar 13 22:38:45 2010
New Revision: 345
Log:
More cleanup
Modified:
trunk/rtmpgw.c
Modified: trunk/rtmpgw.c
==============================================================================
--- trunk/rtmpgw.c Sat Mar 13 22:33:59 2010 (r344)
+++ trunk/rtmpgw.c Sat Mar 13 22:38:45 2010 (r345)
@@ -333,9 +333,9 @@ void processTCPrequest(STREAMING_SERVER
size_t nRead = 0;
- char srvhead[] = "\r\nServer:HTTP-RTMP Stream Server \r\n";
+ char srvhead[] = "\r\nServer: HTTP-RTMP Stream Server " RTMPDUMP_VERSION "\r\n";
- char *status = "404 File not found";
+ char *status = "404 Not Found";
server->state = STREAMING_IN_PROGRESS;
@@ -549,8 +549,8 @@ void processTCPrequest(STREAMING_SERVER
if (req.dStopOffset > 0)
{
- dLength = req.dStopOffset - dSeek;
- }
+ dLength = req.dStopOffset - dSeek;
+ }
Log(LOGDEBUG, "Setting buffer time to: %dms", req.bufferTime);
RTMP_Init(&rtmp);
More information about the rtmpdump
mailing list