Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

givo/kurento-playerendpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlayerEndpoint Example

have created a library for simplifing the use of kurento-client I recommend you to take a look lib-kurento

Introduction

The PlayerEndpoint example

This is a Node.js example which creates a PlayerEndpoint to WebRtcEndpoint pipeline in Kurento media server.

In this example a RTSP-H.264 stream generates by VLC is transmitted to Kureto (which is deployed on Ubuntu 14.04 virtual machine) which trancodes to VP8 and transmitted to a simple web page in WebRTC.

VLC

stream desktop using:

  :sout=#transcode{vcodec=h264,scale=Auto,width=1920,height=1080,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:8554/v.sdp} :sout-keep

Watch Out! - using :file-caching lower than 1000ms may cause image smearing and key-frame lose.

RTSP Instructions

  • Go to media -> stream...

  • Then on Capture Device tab -> edit "Capture mode to Desktop and "Frame Rate" to 25 (any other framerate will be fine) and then click next:

image

  • Then on Stream outpurt/Source click next:

image

  • Then on Stream output/Destination Setup -> edit "New destination" to RTSP, then click Add:

image

  • Then edit "Destination Path" to desktop.sdp (any other path will be fine):

image

  • Then on "Transcoding options" click next and then stream

Required Node.js Packages:

  • async
  • express
  • express-session
  • ws
  • kurento-client

About

An example for using PlayerEndpoint in Kurento. PlayerEndpoint -> WebRtcEndpoint.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published