12
Open APIs for Open Minds The Stream Oriented Generic Enabler – SO GE Developing rich multimedia applications with FIWARE EXERCISES IVAN GRACIA [email protected]

Kurento FIWARE Developers Week Exercises, Vienna

Embed Size (px)

Citation preview

Page 1: Kurento FIWARE Developers Week Exercises, Vienna

Open APIs for Open Minds

The Stream Oriented Generic Enabler – SO GE

Developing rich multimedia applications with FIWAREEXERCISES

IVAN GRACIA

[email protected]

Page 2: Kurento FIWARE Developers Week Exercises, Vienna

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

Page 3: Kurento FIWARE Developers Week Exercises, Vienna

K-2: Install your KMS instance

Prerequisite

• To have an Ubuntu 14.04 box (sudo)

Steps

• http://www.kurento.org/docs/current/installation_guide.html

Hints

• If KMS is behind a NAT don’t forget to configure a STUN server

Easy

Page 4: Kurento FIWARE Developers Week Exercises, Vienna

K-3: Execute the Hello World application

Prerequisite

• To have a KMS up and running

Steps

• http://www.kurento.org/docs/current/tutorials/js/tutorial-1-helloworld.html

Hints

• WebRTC is only supported in Chrome or Firefox

Easy

Page 5: Kurento FIWARE Developers Week Exercises, Vienna

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

Page 6: Kurento FIWARE Developers Week Exercises, Vienna

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/tutorial-3-one2many.html

Hints

• More?

Easy

Page 7: Kurento FIWARE Developers Week Exercises, Vienna

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

Page 8: Kurento FIWARE Developers Week Exercises, Vienna

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

Page 9: Kurento FIWARE Developers Week Exercises, Vienna

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/mastering/develop_kurento_modules.html

Hard

Page 10: Kurento FIWARE Developers Week Exercises, Vienna

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

Page 11: Kurento FIWARE Developers Week Exercises, Vienna

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

Page 12: Kurento FIWARE Developers Week Exercises, Vienna

http://fi-ppp.eu

http://fi-ware.eu

Follow @Fiware on Twitter !

Thanks !

12