Upload
fiware
View
327
Download
3
Embed Size (px)
Citation preview
Kurento exercisesLuis LopezKurento.orgStream Oriented GE Owner, FIWARElulop@@kurento.org, @kurentoms
K-1: Deploy a KMS instance
• Prerequisite– To have a FIWARE Lab account
• Steps– Go to Stream Oriented catalogue page– Follow the steps in “Deploying a dedicated GE
instance based on an image”– Check if KMS is working connecting to
localhost:8080/
• Hints– TCP port 8080 needs to be open– UDP ports from 1024 to 65535 need to be open
Easy
K-2: Install your KMS instance
• Prerequisite– To have an Ubuntu 14.04 box (sudo)
• Steps– http://www.kurento.org/docs/current/inst
allation_guide.html
• Hints– If KMS is behind a NAT don’t forget to
configure a STUN server
Easy
K-3: Execute the Hello World application
• Prerequisite– To have a KMS up and running
• Steps– http://www.kurento.org/docs/current/tuto
rials/js/tutorial-1-helloworld.html
• Hints– WebRTC is only supported in Chrome or
Firefox
Easy
K-4: Make a recorder/player application
• Prerequisite– To have a KMS up and running
• Steps– Start from K-4– Add a “Record” button to record the media stream in KMS– Add a “Play” button to play the recorded stream in the
browser
• Hints– You need to use the following KMS endpoints
• RecorderEndpoint• PlayerEndpoint
– Both endpoints require a file URI. Example• file:///tmp/my_file.webm
Medium
K-5: Execute Kurento one-to-many application
• Prerequisite– To have a KMS up and running
• Steps– For Java developers
• http://www.kurento.org/docs/current/tutorials/java/tutorial-3-one2many.html
– For Node.js developers• http://www.kurento.org/docs/current/tutorials/node/tu
torial-3-one2many.html
• Hints– More?
Easy
K-6: Put a hat on your broadcast
• Prerequisite– To have a KMS up and running
• Steps– Start from K-5– User FaceOverlayFilter to put a hat on top of
heads shown on the broadcasted signal
• Hints– You can inspire in this example
• http://www.kurento.org/docs/current/tutorials.html#tutorial-2-webrtc-magic-mirror
Medium
K-7: Execute a call with recording and filters
• Prerequisite
– To have a KMS up and running
• Steps
– Java developers
• http://www.kurento.org/docs/current/tutorials/java/tutorial-5-one2one-adv.html
• Hints
– More?
Medium
K-8: Create your own module
• Prerequisite– To have a KMS up and running
• Steps– Create a module capable of adding text
captions to video steams
• Hints– http://www.kurento.org/docs/current/ma
stering/develop_kurento_modules.html
Hard
K-9: Create a group call application
• Prerequisite– To have a KMS up and running
• Steps– Implement the WWW GUI
• Example Google Hangouts
– Implement the Application Server logic• Single room• No AAA mechanisms
• Hints– https://github.com/Kurento/kurento-tutorial-
java/tree/release-5.1/kurento-group-call
Hard
K-10: Detecting crowds
• Prerequisite– To have a KMS up and running
• Steps– Install the crowd detector module– Obtain a street feet
• You can use this file if you don’t have a live source– http://files.kurento.org/video/puerta-del-sol.ts
– Configure ROIs– Obtain events– Publish events
• For example, in Orion
– Visualize the stream in a browser
• Hints– http://www.kurento.org/docs/current/tutorials/java/module-3-
crowddetector.html
Hard
Thanks!Thanks!