赞
踩
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"
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。