转载请注明出处。
原文:http://blog.csdn.net/sheji105/article/details/73823945
原文:http://blog.csdn.net/sheji105/article/details/73823945
darwin streaming server主页:
http://dss.macosforge.org/
准备:
tar xvf DarwinStreamingSrvr6.0.3-Source.tar
cd
DarwinStreamingSrvr6.0.3-Source
DarwinStreamingSrvr6.0.3-Source$ patch -p1 < ../dss-6.0.3.patch
patching file APICommonCode/QTAccessFile.cpp
patching file CommonUtilitiesLib/OSHeaders.h
patching file CommonUtilitiesLib/OSRef.h
patching file Makefile.POSIX
patching file RTSPClientLib/PlayerSimulator.h
patching file Server.tproj/QTSSErrorLogModule.cpp
patching file Server.tproj/QTSServer.cpp
patching file Server.tproj/RTPSession.cpp
patching file Server.tproj/RTPStream3gpp.cpp
patching file Server.tproj/RTPStream.h
patching file Server.tproj/RTSPRequest3GPP.cpp
patching file StreamingLoadTool/Makefile.POSIX
patching file StreamingLoadTool/StreamingLoadTool.cpp
DarwinStreamingSrvr6.0.3-Source$ patch -p1 < ../dss-hh-20080728-1.patch
patching file Buildit
patching file MP3Broadcaster/BroadcasterMain.cpp
patching file PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp
patching file Server.tproj/main.cpp
patching file StreamingLoadTool/StreamingLoadTool.cpp
patching file CommonUtilitiesLib/SocketUtils.cpp
patching file CommonUtilitiesLib/Task.h
patching file Server.tproj/QTSServer.cpp
patching file Server.tproj/QTSSMessages.cpp
patching file Server.tproj/QTSSDictionary.h
patching file Server.tproj/QTSSMessages.h
patching file Server.tproj/QTSSDictionary.cpp
patching file CommonUtilitiesLib/OS.cpp
sudo addgroup -system qtss
sudo adduser -system -no-create-home -ingroup qtss qtss
DarwinStreamingSrvr6.0.3-Source$
vim Makefile.POSIX
LIBS = $(CORE_LINK_LIBS) -lCommonUtilitiesLib -lQTFileLib
修改为: LIBS = $(CORE_LINK_LIBS) -lCommonUtilitiesLib -lQTFileLib -ldl
否则编译会出错:
编译:
DarwinStreamingSrvr6.0.3-Source$
./Buildit install
Done.
StreamingProxy--Linux/
StreamingProxy--Linux/streamingproxy.conf
StreamingProxy--Linux/StreamingProxy
StreamingProxy--Linux/StreamingProxy.html
Success!
安装:
cd DarwinStreamingSrvr-Linux/
DarwinStreamingSrvr6.0.3-Source/DarwinStreamingSrvr-Linux$ sudo ./Install
验证是否启动:
ps ax | grep Darwin
15676 ? Ss 0:00 /usr/local/sbin/DarwinStreamingServer
15677 ? Sl 0:00 /usr/local/sbin/DarwinStreamingServer
15762 pts/32 S+ 0:00 grep --color=auto Darwin
浏览器方式配置:
原文链接:https://www.f2er.com/ubuntu/352439.html