Skip to content

Instantly share code, notes, and snippets.

@arvi
Last active July 11, 2016 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arvi/0749e415b94e040dbedee9db8976560f to your computer and use it in GitHub Desktop.
Save arvi/0749e415b94e040dbedee9db8976560f to your computer and use it in GitHub Desktop.
Kurento Development Cheatsheet

Start / Stop

sudo service kurento-media-server-6.0 start
sudo service kurento-media-server-6.0 stop

Run NodeJs tutorial app:

bower install //on static folder as needed
npm install
npm start

Defining Media Constraints

	var constraints = {
	     audio: true,
	     video: false //or
	     // video: {
	     //   width: 640,
	     //   framerate: 15
	     // }
	 };

	 var options = {
	   localVideo: videoInput,
	   remoteVideo: videoOutput,
	   onicecandidate : onIceCandidate,
	   mediaConstraints: constraints
	 };

Media elements are capable of receiving media from other elements (through media sources) and of sending media to other elements (through media sinks).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment