简单的 RTSP/HTTP/URL 通过 WebRTC输入到kurento

Posted 北雨南萍

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了简单的 RTSP/HTTP/URL 通过 WebRTC输入到kurento相关的知识,希望对你有一定的参考价值。

https://github.com/lulop-k/kurento-rtsp2webrtc/tree/master

Kurento RTSP/HTTP URI to WebRTC example

Kurento Client javascript demos

This project is a simple example showing how to tranform a RTSP URI 
or an HTTP video URI feeds into a WebRTC stream.

1. Installation instructions
Be sure to have installed Node.js in your system:
$ curl -sL https://deb.nodesource.com/setup | sudo bash -
$ sudo apt-get install -y nodejs


Also be sure to have installed Bower in your system:
$ sudo npm install -g bower


To launch the demo, run:
$ cd kurento-rtsp2webrtc


$ vim bower.json
...
  "dependencies":
    "bootstrap": "~3.3.0",
    "ekko-lightbox": "~3.2.3",
    "adapter.js": "*",
    "kurento-client": "master",
    "kurento-utils": "master"
 
...
改成:
...
  "dependencies":
    "bootstrap": "~3.3.0",
    "ekko-lightbox": "~3.2.3",
    "adapter.js": "v0.2.9",
    "kurento-client": "master",
    "kurento-utils": "master"
 
...

$ bower install

An HTTP server is required for these demos. 
A very simple way of doing this is by means of a NodeJS server. 
This server can be installed as follows:
$ sudo npm install -g http-server

Then, in each demo folder execute this command:
$ http-server

Finally, open this URL in your browser: 

URL:    http://localhost:8080/

Insert the RTSP or HTTP video feed into the input text and press "start"

以上是关于简单的 RTSP/HTTP/URL 通过 WebRTC输入到kurento的主要内容,如果未能解决你的问题,请参考以下文章

如何在 iOS 中构建一个 Cocoa 触控框架?

HTTP响应代码C#

.net程序自动获取chrome浏览器cookie并检测我的BUG

.net程序自动获取chrome浏览器cookie并检测我的BUG

.net程序自动获取chrome浏览器cookie并检测我的BUG

WebRTC回声抵消模块简要分析