Skip to content

it a poc which use kurento client and a kurento docket server to trans rtsp input into webrtc output stream

Notifications You must be signed in to change notification settings

iamcxa/kurento-trans-rtsp-to-webrtc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kurento RTSP2WebRTC PoC

image

1. run Kurento docker

  1. cd docker
  2. docker build -t kurento-docker-dev .
  3. docker run --name kms -p 8888:8888 -e GST_DEBUG=Kurento*:5 --rm -it kurento-docker-dev

2. run nodejs Client

  1. bower install
  2. npm install -g http-server
  3. http-server

Kurento readme

Copyright © 2014 Kurento. Licensed under LGPL License.

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.

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
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: http://localhost:8080/

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

Optional parameters

The demos accept some optional GET parameters given on the URL, you only need to add them to the query string in the same way you would add them to the Node.js executable on your command line:

http://example.com/index.html?ws_url=ws://example.org/kurento

All the demos accept the ws_url parameter to set the WebSocket Kurento MediaServer endpoint, other parameters specific to each demo can be found at the top of their index.js files.

Kurento

What is Kurento

Kurento provides an open platform for video processing and streaming based on standards.

This platform has several APIs and components which provide solutions to the requirements of multimedia content application developers. These include:

  • Kurento Media Server (KMS). A full featured media server providing the capability to create and manage dynamic multimedia pipelines.
  • Kurento Clients. Libraries to create applications with media capabilities. Kurento provides libraries for Java, browser JavaScript, and Node.js.

Downloads

To download binary releases of Kurento components visit http://kurento.org

Code for other Kurento projects can be found in the GitHub Kurento group.

News and Website

Information about Kurento can be found on our website. Follow us on Twitter @kurentoms.

About

it a poc which use kurento client and a kurento docket server to trans rtsp input into webrtc output stream

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages