- Timestamp:
- 08/24/10 09:57:23 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/win32service/win32service/src/rtmpserver/rtmpserver.cpp
r72 r97 32 32 struct RunningStatus { 33 33 // startup parameters 34 int argc;35 // char **argv;34 // int argc; 35 char * configPath; 36 36 37 37 //Configuration file … … 50 50 RunningStatus gRs = {0}; 51 51 52 void rtmpserver( ) {52 void rtmpserver(char * config_filePath) { 53 53 InitNetworking(); 54 54 55 gRs.configPath = config_filePath; 55 56 do { 56 57 //2. Reset the run flag … … 82 83 83 84 gRs.pConfigFile = new ConfigFile(); 84 string configFilePath = "C:\\rtmpd-clean\\builders\\VS2010\\Debug\\rtmpserver.lua"/*"rtmpserver.lua"*/;85 string configFilePath = gRs.configPath/*"C:\\rtmpd-clean\\builders\\VS2010\\Debug\\rtmpserver.lua"*/; 85 86 string fileName; 86 87 string extension;
Note: See TracChangeset
for help on using the changeset viewer.
