Darwin streaming server源码安装方式总结

darwin streaming server 源码编译

从苹果的网站http://developer.apple.com/opensource/server/streaming/index.html

下载 DarwinStreamingSrvr5.5.5-Source.tar.gz

编译环境为 fedora core 5,gcc 4.1.0

tar -zxvf  DarwinStreamingSrvr5.5.5-Source.tar.gz

cd   解压缩的目录下

执行./Buildit

编译完成后,我们来生成linux下的dss安装包

执行 ./buildtarball

生成DarwinStreamingSrvr-Linux.tar.gz

 

DarwinStreamingSrvr-Linux.tar.gz

解压缩

tar -zxvf  DarwinStreamingSrvr-Linux.tar.gz

cd DarwinStreamingSrvr-Linux

执行./Install

Please enter a new administrator user name:your_username

Please enter a new administrator Password: your_password

查看是否安裝成功

id qtss (查看Darwin Streaming Server的组id)

uid=501(qtss)  gid=501(qtss)  groups=501(qtss)

ps aux | grep Darwin(查看流媒体服务器的进程)

root ... ... ... /usr/local/sbin/DarwinStreamingServer

qtss ... ... ... /usr/local/sbin/DarwinStreamingServer

netstat -ntulp | grep Darwin(查看流媒体服务器的端口)

tcp 0.0.0.0:8001

tcp 0.0.0.0:554

tcp 0.0.0.0:7070

udp 127.0.0.1:6970

udp 192.168.0.1:6970

udp 127.0.0.1:6971

udp 192.168.0.1:6971

udp 127.0.0.1:6976

udp 127.0.0.1:6977

udp 127.0.0.1:6978

udp 127.0.0.1:6979

启动服务

启动 Darwin Streaming Server

sudo /usr/local/sbin/DarwinStreamingServer

启动 Web 管理介面 (tcp port 1220)

sudo /usr/local/sbin/streamingadminserver.pl

ps. 以上两项在刚安装好的时候会自动启动,不需手动执行

小技巧:自动启动流媒体服务器的方法:

自动运行流媒体服务器序非常简单,把上述命令添加在/etc/rc.d/rc.local脚本中即可。

进入web管理页面地址:http://yourip:1220/



enable TD board and PC server Local wired USB network connection

  • enable TD usb network
    1. insert micro usb cable and select rndis
    2. type command in the console: ifconfig usb0 192.168.1.100
  • Enable PC RTSP server USB network
    • watch sudo ifconfig usb0 192.168.1.1
  • Test network connection between board and PC server
    • ping RTSP server from board console: ping 192.168.1.1
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值