在live555的mediaServer中,已经实现RTSP-over-HTTP,但默认没有开启。如果要实现这个功能,需要调用RTSPServer::setUpTunnelingOverHTTP(),指定用来进行RTSP-over-HTTP 的端口,这个端口必须与正常的RTSP-over-TCP端口不同。
而在我这个版本的mediaServer/live555MediaServer.cpp中有这么一段被注释了的程序,不难看出正是初始化RTSP-over-HTTP:

  1. #if 0 // RTSP-over-HTTP tunneling is not yet working
  2. // Also, attempt to create a HTTP server for RTSP-over-HTTP tunneling.
  3. // Try first with the default HTTP port (80), and then with the alternative HTTP
  4. // port number (8000).
  5. RTSPOverHTTPServer* rtspOverHTTPServer;
  6. portNumBits httpServerPortNum = 80;
  7. rtspOverHTTPServer = RTSPOverHTTPServer::createNew(*env, httpServerPortNum, rtspServerPortNum);
  8. if (rtspOverHTTPServer == NULL) {
  9. httpServerPortNum = 8000;
  10. rtspOverHTTPServer = RTSPOverHTTPServer::createNew(*env, httpServerPortNum, rtspServerPortNum);
  11. }
  12. if (rtspOverHTTPServer == NULL) {
  13. *env << "(No server for RTSP-over-HTTP tunneling was created.)\n";
  14. } else {
  15. *env << "(We use port " << httpServerPortNum << " for RTSP-over-HTTP tunneling.)\n";
  16. }
  17. #endif

因此,wis-streamer中也可以移植类似代码实现RTSP-over-HTTP。然而,OPPRO的live为每个码流启动一个wis-streamer,则一共启动了5个wis-streamer,如果5个进程都具备RTSP-over-HTTP ,岂不是会乱套?
期待你的留言!

http://blog.csdn.net/lxhjjz/article/details/8052465

http://www.dajudeng.com/d201208100980c90277375a417866f8f41.html

http://www.ebaina.com/bbs/thread-1734-1-1.html

http://blog.csdn.net/niu_gao/article/details/6911130  live55 详解

多媒体开发之wis-stream的更多相关文章

  1. 多媒体开发之h264中的sps---sps信息提取之分辨率宽高提取2

    -------------------author:pkf -----------------------------time:2015-8-20 -------------------------- ...

  2. 多媒体开发之ftp---一个很现实的需求把ftp转换成rtmp协议做点播

    http://www.dy2018.com/i/96131.html# http://www.hdpfans.com/thread-15684-1-1.html ftp://xc:xc@dz.dl12 ...

  3. 多媒体开发之rtmp---rtmp client 编译

    静态库连接编译问题: assert 原来在c编译器下没定义 ceill 没连接没加 -lm http://blog.chinaunix.net/uid-20681545-id-3786786.html ...

  4. 多媒体开发之rtmp---rtmp client 端的实现

    去年我就在流媒体朋友圈认识winlin 老乡,本来想参与srs的开发,可惜今年5月份身体不好,今天想起rtmp 做直播,有翻到老乡的博文如下: http://blog.csdn.net/win_lin ...

  5. 多媒体开发之h264中的sps---sps信息提取之帧率

    ------------------------------author:pkf -----------------------------------------time:2015-8-20 --- ...

  6. 多媒体开发之h264的三种字节流格式---annexb 哥伦布/mp4 以及还有一种rtp传输流格式

    ------------------------------------author:pkf ------------------------------------------time:2015-1 ...

  7. 多媒体开发之rtcp详解---rtcp数据包

    http://www.360doc.com/content/13/0606/10/1317564_290865866.shtml http://blog.csdn.net/hrbeuwhw/artic ...

  8. 多媒体开发之rtp 打包发流--- 从h264中获取分辨率

    http://blog.csdn.net/DiegoTJ/article/details/5541877 http://www.cnblogs.com/lidabo/p/4482684.html 分辨 ...

  9. 多媒体开发之rtsp 实现rtsp over tcp/http/udp---rtsp发送

    (1) (2) (3) http://itindex.net/detail/51966-海康-rtsp-客户端 http://bbs.csdn.net/topics/390488547?page=1# ...

  10. 多媒体开发之rtsp---rtsp client 端的实现

    http://blog.csdn.net/xyz_lmn/article/details/6055179 java实现 http://www.cnblogs.com/wohexiaocai/p/454 ...

随机推荐

  1. InnoDB INFORMATION_SCHEMA Metrics Table

    InnoDB INFORMATION_SCHEMA Metrics Table INNODB_METRICS表将所有InnoDB性能和资源相关计数器合并到一个INFORMATION_SCHEMA表中. ...

  2. qemu-img命令

    qemu-img是QEMU的磁盘管理工具,在qemu-kvm源码编译后就会默认编译好qemu-img这个二进制文件.qemu-img也是QEMU/KVM使用过程中一个比较重要的工具,本节对其用法和实践 ...

  3. JAVA:ssm框架搭建

    文章来源:http://www.cnblogs.com/hello-tl/p/8328071.html 环境简介 : jdk1.7.0_25/jdk1.8.0_31  tomcat-7.0.81  m ...

  4. kissy学习

    http://docs.kissyui.com/1.4/docs/html/guideline/kmd.html

  5. 关于 HTTP meta 的 IE=edge 说明

    http://www.oschina.net/question/54100_17414 陌生标记标记一: < meta http-equiv = "X-UA-Compatible&qu ...

  6. mysql汉字转拼音函数

    -- 创建汉字拼音对照临时表 CREATE TABLE IF NOT EXISTS `t_base_pinyin` ( `pin_yin_` ) CHARACTER SET gbk NOT NULL, ...

  7. jquery获取ul中li的值

  8. NYOJ90-整数划分,经典递归思想~~

    整数划分 时间限制:3000 ms  |  内存限制:65535 KB 难度:3 描述 将正整数n表示成一系列正整数之和:n=n1+n2+-+nk,  其中n1≥n2≥-≥nk≥1,k≥1.  正整数 ...

  9. 《计算机网络课程设计》基本操作(基于Cisco Packet Tracer)

    第一次课 Router> #用户模式 Router# #特权模式 lhx(config)# #全局配置模式 Router>enable #进入特权模式 Router#configure t ...

  10. 【译】Nodejs最好的ORM

    TypeORM github: https://github.com/typeorm/typeorm这篇译文是从TypeORM github上的使用说明上翻译过来的,已经提交PR并merge到库中了. ...