在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. phpstorm使用Database关联数据库

    1.如图选择mysql 配置数据库连接及shh 点击Test Connection,如果成功,即可点击ok连接mysql数据库 2.如图选择所有的表 3.更新数据

  2. 蓝牙bluez学习(1) Stack Architecture

    Bluez支持的features Core Specification 4.2 (GAP, L2CAP, RFCOMM, SDP, GATT) Classic Bluetooth (BR/EDR) B ...

  3. python_random模块

    random模块 import random print(random.random()) # 大于0且小于1之间的小数 print(random.randint(1, 6)) # 大于等于1且小于等 ...

  4. Huffman codes

    05-树9 Huffman Codes(30 分) In 1953, David A. Huffman published his paper "A Method for the Const ...

  5. 局域网虚拟机端口映射访问apache

    如果我们在虚拟机内搭建好服务器后,希望可以在局域网内的设备上都能访问到这个虚拟服务器,就可以参照以下步骤来操作.其中包括了很多遇到的坑.先说说我的环境是 宿主机:windows 8.1 虚拟机:vmw ...

  6. 【区间筛】2017多校训练四 HDU6069 Counting Divisors

    http://acm.hdu.edu.cn/showproblem.php?pid=6069 [题意] 给定l,r,k,求 d(n)是n的因子个数 [思路] [Accepted] #include&l ...

  7. 积累js中的一些问题及解决方案

    一.取字符串的第i位不兼容的问题 1.问题:对于字符串str来说,要获取第i位,常见的是str[i],但是在低版本的浏览器中不兼容,例如ie7. 2.解决:使用str.charAt(i); 二.使用定 ...

  8. 移动web页面字体大小二

    按设计稿中的字体大小设置页面字体大小(px),在手机端,因为不同设备会有不同,换算成rem单位.rem是“font size of the root element”,可以通过这篇文章了解http:/ ...

  9. OC温习一:基本数据类型

    类型限定修饰词 除了上图中基本数据类型之外, 还有一些类型限定修饰词: short短型:修饰 int  double: long长型:修饰 int double: signed 有符号型:修饰int ...

  10. [vijos1891]学姐的逛街计划

                                                                     学姐的逛街计划 描述 doc 最近太忙了, 每天都有课. 这不怕, d ...