SlideShare a Scribd company logo
1 of 44
Download to read offline
MOBILE	
RASPBERRY	PI
presented	by	Giorgio	Natili
MOBILE	TEA	#5
ROME,	10	JULY	2013
(WAT?	It's	raining	again?!)
About	me
e-mail:	g.natili@gnstudio.com
twitter:	@giorgionatili
blog:	webplatform.io	(coming	soon!)
community:	codeinvaders.net
Agenda
• What	is	WebRTC	and	what	we	can	do	with	it
• What	is	libjingle	
• Explore	the	libjingle	GYP	files
• Make	a	build	for	iOS
• Demo
WHAT	IS	WEBRTC
What	is	WebRTC
• Accordingly	to	google	WebRTC	is	a	new	way	yo	do	real	time
communication	on	the	web	without	using	any	plugin.
• WebRTC	is	a	free,	open	project	that	enables	web	browsers	with
Real-Time	Communications	(RTC)	capabilities	via	simple
Javascript	APIs.
• WebRTC	API	are	available	in	Chrome	24+,	Firefox	22+	and
Opera	12+.
• Don't	confuse	WebRTC	API	and	the	the	<device>	API.
Internet	Explorer
What's	about	our	good	friend	IE?
• It's	unclear	how	and	when	the	support	will	be	available
• So	far	you	can	use	ChromeFrame	to	support	WebRTC
(more	info	about	the	ChromeFrame	extension	are
available	on	the	official	web	page	of	the	project
developers.google.com/chrome/chrome-frame/)
• You	guess?	Microsoft	is	working	on	its	own	standard	:)
Model	a	/	Model	b
-	The	ethernet	port	is	available	only	on	model	b
-	The	model	a	has	only	256mb	of	memory	(SDRAM)
-	The	model	b	has	a	dual	USB	connector
-	All	the	other	features	are	the	same	in	model	a	and	b
-	A	detalid	comparison	is	available	on	element14
Model	b
components
Didactical	Usage
-	General	computer	usage
-	Programming	(python,	java,	etc.)		
-	Understand	hardware	components
-	Linux	and	Bash
Practical	Usages
-	Media	Center	(HDMI)
-	Electronics	(micro)	controller
-	Surveillance	systems	(i.e.	camera	module)
-	Arcade	Game	Coffee	Table	using	MAME
-	Supercomputers	(at	the	University	of	Southampton	linked	up	64
Raspberry	Pis)
Performances
-	At	the	heart	of	the	Raspberry	Pi	is	the	same	processor	you
would	have	found	in	the	iPhone	3G	and	the	Kindle	2
-	There	is	a	standard	RCA-type	jack	that	provides	composite
NTSC	or	PAL	video	signals	in	addition	to	the	HDMI	output
-	There’s	no	hard	drive	on	the	Pi,	everything	is	stored	on	an
SD	Card
Where	and	How	to
Get	It?
-	Premier	Farnell	/	Element	14	
-	RS	Components
-	Egoman	Technology	Corp	
-	Robot	Italy
Then	you	have	to	be	really	patient,	wait	and	pray	it	will	arrive	in	time...
Explore	the	Board
The	processor
RASPBERRY
PERIPHERALS
What	You	Can
Connect
-	You	can	connect	peripherals	using	the	pins	on	the	board
-	General	Purpose	Input	and	Output	(GPIO)
-	P2	and	P3	headers
-	Camera	Serial	Interface	(CSI)
-	Display	Serial	Interface	(DSI)
Select	always	the
proper
peripherals!
http://elinux.org/RPi_VerifiedPer
Internal	Power
Hub
Battery	Pack
Keyboard	&
Touchpad	Mouse
Choose	the	Right
Distribution
Raspbian
The	“officially	recommended”	official	distribution	from	the
Foundation,	based	on	Debian
Adafruit
It	is	a	Raspbian-based	distribution	that	includes	tools	and	drivers	useful
for	teaching	electronics
Xbian
It	is	a	distribution	based	on	Raspbian	for	users	who	want	to	use	the
Raspberry	Pi	as	a	media	center	(see	also	OpenELEC	and	Raspbmc)
Arch	Linux
It	is	a	distribution	specifically	targets	ARM-bssed	computers	so	it's	the
early	adopted	Raspberry	Pi	OS
Prepare	the	SD
Card
OS	Disk	Image
-	The	operating	system	is	distributed	as	a	disk	image
-	It	is	a	bit-for-bit	representation	of	how	the	data	should	be
written	to	the	SD	card
OS	X
-	Open	the	terminal	utility
-	df	-h,	insert	the	SD	card	and	then	type	it	again
-	Unmount	the	card	(diskutil	unmount	/dev/	disk3s1)
-	Figure	out	the	raw	device	name	(replace	disk	with	risk	and
leave	off	the	s1)
-	Use	the	dd	utility	to	write	byte	per	byte	the	disk	image
Windows
-	Download	the	Win32DiskImager
(https://launchpad.net/win32-image-writer)
-	Insert	the	SD	card
-	Open	Win32DiskImager	and	select	the	OS	image
Run	the
Raspberry	pi
Step	by	Step
-	Plug	the	SD	card	into	the	socket
-	Plugin	an	USB	keyboard	and	mouse
-	Plug	the	HDMI	output	into	your	TV	or	monitor
-	Plugin	the	power	supply
-	Cross	the	fingers	and	have	fun!!!
Trouble	Shooting
-	Check	the	SD	card	is	correctly	docked
-	Chet	you	are	using	the	correct	type	of	SD	card
-	Check	if	the	card	is	write	protect	enabled
The	Config	Screen
1/2
-	Expand	rootfs,	enlarge	the	filesytem	in	order	to	use	the
whole	SD	card
-	Overscan,	enable	it	if	the	text	run	off	the	screen	on	an	high
definition	monitor
-	Keyboard,	setup	the	keyboard	style	(the	default	is	UK)
-	Password,	chose	something	stronger	than	raspberry
-	Change	Locale
The	Config	Screen
2/2
-	Memory	split,	change	the	amount	of	memory	used	by	the
CPU	and	the	GPU
-	Overclock,	speed	up	the	processor	speed	to	1000Mhz
-	Set	theTimezone
-	SSH,	switch	on/off	the	secure	shell	server	that	allows	you
to	run	headless
-	Desktop	behavior,	setting	up	no	you	run	it	as	CLI	Linux
(command	line!)
Don't	update	the
OS	the	first	time
you	run	the
device!!!
Pre	Installed
Software
-	Midori	browser	(optionally	NetSurf	or	Dillo)
-	Omxplayer
-	Leafpad	and	Nano
-	Bourne	Again	Shell	(BASH!)
-	apt-get	(e.g.	sudo	apt-get	install	scrot)
RASPBERRY PI MOBILE PRESENTATION ON WEBRTC AND LIBJINGLE

More Related Content

Viewers also liked

Android, getting started
Android, getting startedAndroid, getting started
Android, getting startedGiorgio Natili
 
Undoable architectures
Undoable architecturesUndoable architectures
Undoable architecturesGiorgio Natili
 
Mobile benchmarking-and-profiling
Mobile benchmarking-and-profilingMobile benchmarking-and-profiling
Mobile benchmarking-and-profilingGiorgio Natili
 
WebRTC communication and wearable devices
WebRTC communication and wearable devicesWebRTC communication and wearable devices
WebRTC communication and wearable devicesGiorgio Natili
 
Develop, test and debug cross platforms apps with PhoneGap
Develop, test and debug cross platforms apps with PhoneGapDevelop, test and debug cross platforms apps with PhoneGap
Develop, test and debug cross platforms apps with PhoneGapGiorgio Natili
 
Clear the UIViewController Mess
Clear the UIViewController MessClear the UIViewController Mess
Clear the UIViewController MessGiorgio Natili
 
Programa de Eficiencia Energetica en Municipios Mexico
Programa de Eficiencia Energetica en Municipios MexicoPrograma de Eficiencia Energetica en Municipios Mexico
Programa de Eficiencia Energetica en Municipios MexicoSusana Garcia San Roman
 
自宅ラック勉強会7.0 逸般人の普通の自宅it環境
自宅ラック勉強会7.0 逸般人の普通の自宅it環境自宅ラック勉強会7.0 逸般人の普通の自宅it環境
自宅ラック勉強会7.0 逸般人の普通の自宅it環境mokudai masayuki
 
WebRTC and Mobile Integration
WebRTC and Mobile IntegrationWebRTC and Mobile Integration
WebRTC and Mobile IntegrationGiorgio Natili
 
La posta elettronica in azienda e la privacy dei dipendenti
La posta elettronica in azienda e la privacy dei dipendentiLa posta elettronica in azienda e la privacy dei dipendenti
La posta elettronica in azienda e la privacy dei dipendentiMassimo Melica
 
Multithreading development with workers
Multithreading development with workersMultithreading development with workers
Multithreading development with workersGiorgio Natili
 
Massimo Melica 05 02 2010 Milano
Massimo Melica 05 02 2010 MilanoMassimo Melica 05 02 2010 Milano
Massimo Melica 05 02 2010 MilanoMassimo Melica
 
Layla Pavone Relazione Apertura Iab Forum2009
Layla Pavone Relazione Apertura Iab Forum2009Layla Pavone Relazione Apertura Iab Forum2009
Layla Pavone Relazione Apertura Iab Forum2009Massimo Melica
 
Social Money Milano Massimo Melica
Social Money Milano Massimo MelicaSocial Money Milano Massimo Melica
Social Money Milano Massimo MelicaMassimo Melica
 
Melica Intercettazioni e costi per la Giustizia
Melica Intercettazioni e costi per la GiustiziaMelica Intercettazioni e costi per la Giustizia
Melica Intercettazioni e costi per la GiustiziaMassimo Melica
 

Viewers also liked (18)

lighting basics
lighting basicslighting basics
lighting basics
 
Android, getting started
Android, getting startedAndroid, getting started
Android, getting started
 
Big data and mobile
Big data and mobileBig data and mobile
Big data and mobile
 
Undoable architectures
Undoable architecturesUndoable architectures
Undoable architectures
 
Mobile benchmarking-and-profiling
Mobile benchmarking-and-profilingMobile benchmarking-and-profiling
Mobile benchmarking-and-profiling
 
WebRTC communication and wearable devices
WebRTC communication and wearable devicesWebRTC communication and wearable devices
WebRTC communication and wearable devices
 
Develop, test and debug cross platforms apps with PhoneGap
Develop, test and debug cross platforms apps with PhoneGapDevelop, test and debug cross platforms apps with PhoneGap
Develop, test and debug cross platforms apps with PhoneGap
 
Clear the UIViewController Mess
Clear the UIViewController MessClear the UIViewController Mess
Clear the UIViewController Mess
 
Programa de Eficiencia Energetica en Municipios Mexico
Programa de Eficiencia Energetica en Municipios MexicoPrograma de Eficiencia Energetica en Municipios Mexico
Programa de Eficiencia Energetica en Municipios Mexico
 
自宅ラック勉強会7.0 逸般人の普通の自宅it環境
自宅ラック勉強会7.0 逸般人の普通の自宅it環境自宅ラック勉強会7.0 逸般人の普通の自宅it環境
自宅ラック勉強会7.0 逸般人の普通の自宅it環境
 
WebRTC and Mobile Integration
WebRTC and Mobile IntegrationWebRTC and Mobile Integration
WebRTC and Mobile Integration
 
La posta elettronica in azienda e la privacy dei dipendenti
La posta elettronica in azienda e la privacy dei dipendentiLa posta elettronica in azienda e la privacy dei dipendenti
La posta elettronica in azienda e la privacy dei dipendenti
 
Jasmine 2.0
Jasmine 2.0Jasmine 2.0
Jasmine 2.0
 
Multithreading development with workers
Multithreading development with workersMultithreading development with workers
Multithreading development with workers
 
Massimo Melica 05 02 2010 Milano
Massimo Melica 05 02 2010 MilanoMassimo Melica 05 02 2010 Milano
Massimo Melica 05 02 2010 Milano
 
Layla Pavone Relazione Apertura Iab Forum2009
Layla Pavone Relazione Apertura Iab Forum2009Layla Pavone Relazione Apertura Iab Forum2009
Layla Pavone Relazione Apertura Iab Forum2009
 
Social Money Milano Massimo Melica
Social Money Milano Massimo MelicaSocial Money Milano Massimo Melica
Social Money Milano Massimo Melica
 
Melica Intercettazioni e costi per la Giustizia
Melica Intercettazioni e costi per la GiustiziaMelica Intercettazioni e costi per la Giustizia
Melica Intercettazioni e costi per la Giustizia
 

Similar to RASPBERRY PI MOBILE PRESENTATION ON WEBRTC AND LIBJINGLE

Cross Platform HTML5 Mobile Development and the Firefox OS
Cross Platform HTML5 Mobile Development and the Firefox OSCross Platform HTML5 Mobile Development and the Firefox OS
Cross Platform HTML5 Mobile Development and the Firefox OSSMART DevNet
 
Cross Platform HTML5 Mobile Development
Cross Platform HTML5 Mobile DevelopmentCross Platform HTML5 Mobile Development
Cross Platform HTML5 Mobile DevelopmentRobert 'Bob' Reyes
 
TLKR.io @ Betabeers Madrid
TLKR.io @ Betabeers MadridTLKR.io @ Betabeers Madrid
TLKR.io @ Betabeers MadridDiacode
 
Developing for Firefox
Developing for FirefoxDeveloping for Firefox
Developing for FirefoxSaurabh Kheni
 
WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...
WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...
WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...Amir Zmora
 
Create a Bot with Delphi and Telegram - ITDevCon 2016
Create a Bot with Delphi and Telegram - ITDevCon 2016Create a Bot with Delphi and Telegram - ITDevCon 2016
Create a Bot with Delphi and Telegram - ITDevCon 2016Marco Breveglieri
 
2011 07 Malaysia Open Source Conference
2011 07 Malaysia Open Source Conference2011 07 Malaysia Open Source Conference
2011 07 Malaysia Open Source ConferenceGen Kanai
 
Nodebots : javascripting robotics
Nodebots : javascripting roboticsNodebots : javascripting robotics
Nodebots : javascripting roboticsPankaja Gamage
 
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group MeetupTiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group MeetupMax Katz
 
KamailioWorld 2014: Kamailio, IMS and WebRTC
KamailioWorld 2014: Kamailio, IMS and WebRTCKamailioWorld 2014: Kamailio, IMS and WebRTC
KamailioWorld 2014: Kamailio, IMS and WebRTCCarsten Bock
 
Status of WebRTC across Asia by Alan Quayle +++
Status of WebRTC across Asia by Alan Quayle +++Status of WebRTC across Asia by Alan Quayle +++
Status of WebRTC across Asia by Alan Quayle +++Alan Quayle
 
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"BBC News Labs
 
WebRTC and Telecommunications
WebRTC and TelecommunicationsWebRTC and Telecommunications
WebRTC and TelecommunicationsAVOXI
 
Best practices for delivering quality web experiences
Best practices for delivering quality web experiencesBest practices for delivering quality web experiences
Best practices for delivering quality web experiencesBen Mantooth
 
Introduction to WebRTC
Introduction to WebRTCIntroduction to WebRTC
Introduction to WebRTCArjun Varma
 
The Road To Openness.Odt
The Road To Openness.OdtThe Road To Openness.Odt
The Road To Openness.OdtKaniska Mandal
 
What's new and what's next in Electron & Chromium [2016]
What's new and what's next in Electron & Chromium [2016]What's new and what's next in Electron & Chromium [2016]
What's new and what's next in Electron & Chromium [2016]Ben Gotow
 

Similar to RASPBERRY PI MOBILE PRESENTATION ON WEBRTC AND LIBJINGLE (20)

Cross Platform HTML5 Mobile Development and the Firefox OS
Cross Platform HTML5 Mobile Development and the Firefox OSCross Platform HTML5 Mobile Development and the Firefox OS
Cross Platform HTML5 Mobile Development and the Firefox OS
 
Cross Platform HTML5 Mobile Development
Cross Platform HTML5 Mobile DevelopmentCross Platform HTML5 Mobile Development
Cross Platform HTML5 Mobile Development
 
TLKR.io @ Betabeers Madrid
TLKR.io @ Betabeers MadridTLKR.io @ Betabeers Madrid
TLKR.io @ Betabeers Madrid
 
Developing for Firefox
Developing for FirefoxDeveloping for Firefox
Developing for Firefox
 
WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...
WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...
WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...
 
Create a Bot with Delphi and Telegram - ITDevCon 2016
Create a Bot with Delphi and Telegram - ITDevCon 2016Create a Bot with Delphi and Telegram - ITDevCon 2016
Create a Bot with Delphi and Telegram - ITDevCon 2016
 
2011 07 Malaysia Open Source Conference
2011 07 Malaysia Open Source Conference2011 07 Malaysia Open Source Conference
2011 07 Malaysia Open Source Conference
 
Nodebots : javascripting robotics
Nodebots : javascripting roboticsNodebots : javascripting robotics
Nodebots : javascripting robotics
 
WebRTC in the Real World
WebRTC in the Real WorldWebRTC in the Real World
WebRTC in the Real World
 
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group MeetupTiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
 
KamailioWorld 2014: Kamailio, IMS and WebRTC
KamailioWorld 2014: Kamailio, IMS and WebRTCKamailioWorld 2014: Kamailio, IMS and WebRTC
KamailioWorld 2014: Kamailio, IMS and WebRTC
 
Status of WebRTC across Asia by Alan Quayle +++
Status of WebRTC across Asia by Alan Quayle +++Status of WebRTC across Asia by Alan Quayle +++
Status of WebRTC across Asia by Alan Quayle +++
 
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
 
WebRTC and Telecommunications
WebRTC and TelecommunicationsWebRTC and Telecommunications
WebRTC and Telecommunications
 
Best practices for delivering quality web experiences
Best practices for delivering quality web experiencesBest practices for delivering quality web experiences
Best practices for delivering quality web experiences
 
IOT Hands On
IOT Hands OnIOT Hands On
IOT Hands On
 
Introduction to WebRTC
Introduction to WebRTCIntroduction to WebRTC
Introduction to WebRTC
 
The Road To Openness.Odt
The Road To Openness.OdtThe Road To Openness.Odt
The Road To Openness.Odt
 
Web rtc summary
Web rtc summaryWeb rtc summary
Web rtc summary
 
What's new and what's next in Electron & Chromium [2016]
What's new and what's next in Electron & Chromium [2016]What's new and what's next in Electron & Chromium [2016]
What's new and what's next in Electron & Chromium [2016]
 

More from Giorgio Natili

More from Giorgio Natili (10)

Driving Assistant Solutions with Android
Driving Assistant Solutions with AndroidDriving Assistant Solutions with Android
Driving Assistant Solutions with Android
 
Isomorphic Reactive Programming
Isomorphic Reactive ProgrammingIsomorphic Reactive Programming
Isomorphic Reactive Programming
 
Service worker API
Service worker APIService worker API
Service worker API
 
The Little Shop of TDD Horrors
The Little Shop of TDD HorrorsThe Little Shop of TDD Horrors
The Little Shop of TDD Horrors
 
I beacon mobile_tea
I beacon mobile_teaI beacon mobile_tea
I beacon mobile_tea
 
The short path to ecma 6
The short path to ecma 6The short path to ecma 6
The short path to ecma 6
 
Harmonik
HarmonikHarmonik
Harmonik
 
Ecma6 in 30 minutes
Ecma6 in 30 minutesEcma6 in 30 minutes
Ecma6 in 30 minutes
 
Test first!
Test first!Test first!
Test first!
 
Test first
Test firstTest first
Test first
 

RASPBERRY PI MOBILE PRESENTATION ON WEBRTC AND LIBJINGLE