当前位置:   article > 正文

简单的 RTSP/HTTP/URL 通过 WebRTC输入到kurento_kurento-rtsp2webrtc

kurento-rtsp2webrtc

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"

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/157481
推荐阅读
相关标签
  

闽ICP备14008679号