SlideShare a Scribd company logo
1 of 22
Download to read offline
EnergYT: Energy Efficient
YouTube Player
Khaled Ziyaeen
Michail Giannakopoulos
Miroslav Cupak
Outline
• Problem
• Motivation
• Approach
• Architecture
• Implementation
• Future Work
• Related Work
• Conclusion
Problem
• Energy is scarce on mobile phones.
• One of the most energy consuming tasks on a
mobile phone is streaming and playing video
content
– GSM (WiFi) and backlight are two highest energy
consumers
Video Playback Consumption
Network Data Download Consumption
Signal Strength vs. Energy Use
• Higher Signal Strength results in lower energy
consumption
– Energy Consumption increased by 30% when
signal strength lowered by 10dBm over 3G data
download
• 3G data download suffers more severely than
WiFi data download when signal strength is
lowered
Motivation
• Opportunity to save energy during YouTube
video streaming
– Particularly, backlight and data download
• Backlight energy consumption is set by the
user
• Data Download energy consumption can be
controlled by app developer
Approach
• Save energy during video streaming without
interrupting user experience in any way
• Schedule data downloads during periods of
high signal strength
• Implement this energy-aware feature into a
new Android YouTube media player
– Download a YouTube video from a YouTube link
Http Request
TCP Socket
Connectionwith
YoutubeServer
MobileStorage
Source
File
Media Player
Connection Component
Media Component
Append
Server Component
Localhost
Connection
Process Request
Stream
Content
EnergYT Architecture
Implementation
• Connection Component
• Server Component
• Media Component
Http Request
TCP Socket
Connectionwith
YoutubeServer
MobileStorage
Source
File
Media Player
Connection Component
Media Component
Append
Server Component
Localhost
Connection
Process Request
Stream
Content
EnergYT Architecture
Connection Component
• Determines actual video URL from YouTube link
• Downloads video data in chunks
• Stores video data into local file
• Signal strength is monitored
– Connection closed when
1. Signal strength drops below threshold
2. Remaining buffer allows delaying next chunk download
– Connection reopened when signal is strong again
Energy-Aware Algorithm
while (video file is being downloaded) {
if (bufferSize > DISCONNECT_THRESHOLD
&& currSignal < prevSignal
&& connection is on)
disconnect();
if ((bufferSize > CONNECT_THRESHOLD
&& connection is off)
|| (currSignal > prevSignal)) {
prevSignal <- getSignal();
connect();
downloadVideoChunk();
} }
Http Request
TCP Socket
Connectionwith
YoutubeServer
MobileStorage
Source
File
Media Player
Connection Component
Media Component
Append
Server Component
Localhost
Connection
Process Request
Stream
Content
EnergYT Architecture
Server Component
• Listens for local client connection
• Streams video content to Media Component
– Reads and transmits local file created by
Connection Component
• Reads file while video content is being
downloaded by Connection Component
Http Request
TCP Socket
Connectionwith
YoutubeServer
MobileStorage
Source
File
Media Player
Connection Component
Media Component
Append
Server Component
Localhost
Connection
Process Request
Stream
Content
EnergYT Architecture
Media Component
• Connects to Server Component
– setVideoURI(“127.0.0.1:8893/file”);
• Plays video as soon as it receives content from
Server Component
• Performs local buffering
– Allows video playback even when connection is
closed by Connection Component
– Waits for video content if none available
• Enables user to control playback
Major Issues
• Reverse engineering approach to retrieve the
actual Youtube streaming URL
• Reconnecting to continue download from a
specific point
• Getting video in an encoding supported by
Android’s VideoView widget
• Enabling playback of incomplete files
• Turning off radio from the application (Fast
Dormancy)
Future Work
• Evaluation process:
– Energy consumption comparing simple version of
our media player versus energy-aware one
– Use AIRPLANE_MODE to simulate radio shutdown
• Cannot be enabled from the application layer
• Develop a more sophisticated method for
predicting the threshold values
Related Work
• “Envi: Energy Efficient Video Player for Mobiles”, S.Suneja, V.Navda,
R.Ramjee, E.DeLara
• “Bartendr: a practical approach to energy-aware cellular data scheduling”,
A.Schulman, V.Navda, R.Ramjee, N.Spring, P.Deshpande, C.Grunewald,
K.Jain, V.N.Padmanabhan – MobiCom, 2010
• “Energy Consumption in Mobile Phones: A Measurement Study and
Implementations for Network Applications”, N.Balasubramanian,
A.Balasubramanian, A.Venkataramani – ICM, 2009
• “Energy Consumption of Mobile YouTube: Quantitative Measurement and
Analysis”, Y.Xiao, R.S.Kalyanaraman, A.Yla-Jaaski – NGMAST, 2008
• “An analysis of Power Consumption in a Smartphone”, A.Carroll, G.Heiser
– USENIX, 2010
Conclusion
• We developed the infrastructure for an energy
aware YouTube player on the Android
Platform
• We developed an energy aware algorithm for
streaming YouTube videos.
Thank you!
Questions/Remarks?

More Related Content

Similar to EnergYT: Energy Efficient YouTube Player

NodeJS Edinburgh Video Killed My Data Plan
NodeJS Edinburgh Video Killed My Data PlanNodeJS Edinburgh Video Killed My Data Plan
NodeJS Edinburgh Video Killed My Data PlanDoug Sillars
 
Docker:- Application Delivery Platform Towards Edge Computing
Docker:- Application Delivery Platform Towards Edge ComputingDocker:- Application Delivery Platform Towards Edge Computing
Docker:- Application Delivery Platform Towards Edge ComputingBukhary Ikhwan Ismail
 
Use of Automation Codecs Streaming Video Applications Based on Cloud Computing
Use of Automation Codecs Streaming Video Applications Based on Cloud ComputingUse of Automation Codecs Streaming Video Applications Based on Cloud Computing
Use of Automation Codecs Streaming Video Applications Based on Cloud ComputingTELKOMNIKA JOURNAL
 
IBC Content Everywhere Hub Presentation: HTML5 And Fastest Encoding
IBC Content Everywhere Hub Presentation: HTML5 And Fastest EncodingIBC Content Everywhere Hub Presentation: HTML5 And Fastest Encoding
IBC Content Everywhere Hub Presentation: HTML5 And Fastest EncodingBitmovin Inc
 
IPTV Workshop FDB104
IPTV Workshop FDB104IPTV Workshop FDB104
IPTV Workshop FDB104James Uren
 
booting-booster-final-20160420-0700
booting-booster-final-20160420-0700booting-booster-final-20160420-0700
booting-booster-final-20160420-0700Samsung Electronics
 
Network characteristics of a
Network characteristics of a Network characteristics of a
Network characteristics of a Deepti Ghadiyaram
 
P2P file sharing over GPRS network using Motorola RAZR2
P2P file sharing over GPRS network using Motorola RAZR2P2P file sharing over GPRS network using Motorola RAZR2
P2P file sharing over GPRS network using Motorola RAZR2Ritul Sonania
 
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스Amazon Web Services Korea
 
Video performance snowcamp
Video performance snowcampVideo performance snowcamp
Video performance snowcampDoug Sillars
 
FYP-Final-External
FYP-Final-ExternalFYP-Final-External
FYP-Final-ExternalAhmed Rik
 
Making the Home Gateway an Operator Control Point - Andreas Sayegh, Deutsche ...
Making the Home Gateway an Operator Control Point - Andreas Sayegh, Deutsche ...Making the Home Gateway an Operator Control Point - Andreas Sayegh, Deutsche ...
Making the Home Gateway an Operator Control Point - Andreas Sayegh, Deutsche ...mfrancis
 
Software Updates for Connected Devices - OSCON 2018
Software Updates for Connected Devices - OSCON 2018Software Updates for Connected Devices - OSCON 2018
Software Updates for Connected Devices - OSCON 2018Mender.io
 
PEER-TO-PEER INTERACTIVE VOD STREAMING USING NCECD
PEER-TO-PEER INTERACTIVE VOD  STREAMING  USING NCECDPEER-TO-PEER INTERACTIVE VOD  STREAMING  USING NCECD
PEER-TO-PEER INTERACTIVE VOD STREAMING USING NCECDJayanthGubbi
 
Beaglebone Black Webcam Server For Security
Beaglebone Black Webcam Server For SecurityBeaglebone Black Webcam Server For Security
Beaglebone Black Webcam Server For SecurityIJTET Journal
 
Ipcam 090727060856-phpapp02
Ipcam 090727060856-phpapp02Ipcam 090727060856-phpapp02
Ipcam 090727060856-phpapp02azad12915
 
Delivering Traditional and Omnidirectional Media
Delivering Traditional and Omnidirectional MediaDelivering Traditional and Omnidirectional Media
Delivering Traditional and Omnidirectional MediaAlpen-Adria-Universität
 
Wide Area Power System Visualization & Near Real-Time Event Replay Using ...
Wide Area Power System Visualization  &  Near Real-Time Event Replay  Using  ...Wide Area Power System Visualization  &  Near Real-Time Event Replay  Using  ...
Wide Area Power System Visualization & Near Real-Time Event Replay Using ...Power System Operation
 
Mini proj ii sdn video communication
Mini proj ii   sdn video communicationMini proj ii   sdn video communication
Mini proj ii sdn video communicationHaowei Jiang
 

Similar to EnergYT: Energy Efficient YouTube Player (20)

NodeJS Edinburgh Video Killed My Data Plan
NodeJS Edinburgh Video Killed My Data PlanNodeJS Edinburgh Video Killed My Data Plan
NodeJS Edinburgh Video Killed My Data Plan
 
Docker:- Application Delivery Platform Towards Edge Computing
Docker:- Application Delivery Platform Towards Edge ComputingDocker:- Application Delivery Platform Towards Edge Computing
Docker:- Application Delivery Platform Towards Edge Computing
 
Use of Automation Codecs Streaming Video Applications Based on Cloud Computing
Use of Automation Codecs Streaming Video Applications Based on Cloud ComputingUse of Automation Codecs Streaming Video Applications Based on Cloud Computing
Use of Automation Codecs Streaming Video Applications Based on Cloud Computing
 
IBC Content Everywhere Hub Presentation: HTML5 And Fastest Encoding
IBC Content Everywhere Hub Presentation: HTML5 And Fastest EncodingIBC Content Everywhere Hub Presentation: HTML5 And Fastest Encoding
IBC Content Everywhere Hub Presentation: HTML5 And Fastest Encoding
 
IPTV Workshop FDB104
IPTV Workshop FDB104IPTV Workshop FDB104
IPTV Workshop FDB104
 
booting-booster-final-20160420-0700
booting-booster-final-20160420-0700booting-booster-final-20160420-0700
booting-booster-final-20160420-0700
 
Network characteristics of a
Network characteristics of a Network characteristics of a
Network characteristics of a
 
P2P file sharing over GPRS network using Motorola RAZR2
P2P file sharing over GPRS network using Motorola RAZR2P2P file sharing over GPRS network using Motorola RAZR2
P2P file sharing over GPRS network using Motorola RAZR2
 
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
 
Video performance snowcamp
Video performance snowcampVideo performance snowcamp
Video performance snowcamp
 
FYP-Final-External
FYP-Final-ExternalFYP-Final-External
FYP-Final-External
 
Ip Cam
Ip CamIp Cam
Ip Cam
 
Making the Home Gateway an Operator Control Point - Andreas Sayegh, Deutsche ...
Making the Home Gateway an Operator Control Point - Andreas Sayegh, Deutsche ...Making the Home Gateway an Operator Control Point - Andreas Sayegh, Deutsche ...
Making the Home Gateway an Operator Control Point - Andreas Sayegh, Deutsche ...
 
Software Updates for Connected Devices - OSCON 2018
Software Updates for Connected Devices - OSCON 2018Software Updates for Connected Devices - OSCON 2018
Software Updates for Connected Devices - OSCON 2018
 
PEER-TO-PEER INTERACTIVE VOD STREAMING USING NCECD
PEER-TO-PEER INTERACTIVE VOD  STREAMING  USING NCECDPEER-TO-PEER INTERACTIVE VOD  STREAMING  USING NCECD
PEER-TO-PEER INTERACTIVE VOD STREAMING USING NCECD
 
Beaglebone Black Webcam Server For Security
Beaglebone Black Webcam Server For SecurityBeaglebone Black Webcam Server For Security
Beaglebone Black Webcam Server For Security
 
Ipcam 090727060856-phpapp02
Ipcam 090727060856-phpapp02Ipcam 090727060856-phpapp02
Ipcam 090727060856-phpapp02
 
Delivering Traditional and Omnidirectional Media
Delivering Traditional and Omnidirectional MediaDelivering Traditional and Omnidirectional Media
Delivering Traditional and Omnidirectional Media
 
Wide Area Power System Visualization & Near Real-Time Event Replay Using ...
Wide Area Power System Visualization  &  Near Real-Time Event Replay  Using  ...Wide Area Power System Visualization  &  Near Real-Time Event Replay  Using  ...
Wide Area Power System Visualization & Near Real-Time Event Replay Using ...
 
Mini proj ii sdn video communication
Mini proj ii   sdn video communicationMini proj ii   sdn video communication
Mini proj ii sdn video communication
 

More from Miro Cupak

Exploring the latest and greatest from Java 14
Exploring the latest and greatest from Java 14Exploring the latest and greatest from Java 14
Exploring the latest and greatest from Java 14Miro Cupak
 
Exploring reactive programming in Java
Exploring reactive programming in JavaExploring reactive programming in Java
Exploring reactive programming in JavaMiro Cupak
 
Exploring the last year of Java
Exploring the last year of JavaExploring the last year of Java
Exploring the last year of JavaMiro Cupak
 
Local variable type inference - Will it compile?
Local variable type inference - Will it compile?Local variable type inference - Will it compile?
Local variable type inference - Will it compile?Miro Cupak
 
The Good, the Bad and the Ugly of Java API design
The Good, the Bad and the Ugly of Java API designThe Good, the Bad and the Ugly of Java API design
The Good, the Bad and the Ugly of Java API designMiro Cupak
 
Local variable type inference - Will it compile?
Local variable type inference - Will it compile?Local variable type inference - Will it compile?
Local variable type inference - Will it compile?Miro Cupak
 
Exploring reactive programming in Java
Exploring reactive programming in JavaExploring reactive programming in Java
Exploring reactive programming in JavaMiro Cupak
 
The good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designThe good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designMiro Cupak
 
Master class in modern Java
Master class in modern JavaMaster class in modern Java
Master class in modern JavaMiro Cupak
 
The good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designThe good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designMiro Cupak
 
Exploring reactive programming in Java
Exploring reactive programming in JavaExploring reactive programming in Java
Exploring reactive programming in JavaMiro Cupak
 
The good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designThe good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designMiro Cupak
 
Writing clean code with modern Java
Writing clean code with modern JavaWriting clean code with modern Java
Writing clean code with modern JavaMiro Cupak
 
The good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designThe good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designMiro Cupak
 
Master class in modern Java
Master class in modern JavaMaster class in modern Java
Master class in modern JavaMiro Cupak
 
Exploring reactive programming in Java
Exploring reactive programming in JavaExploring reactive programming in Java
Exploring reactive programming in JavaMiro Cupak
 
Writing clean code with modern Java
Writing clean code with modern JavaWriting clean code with modern Java
Writing clean code with modern JavaMiro Cupak
 
Exploring what's new in Java 10 and 11 (and 12)
Exploring what's new in Java 10 and 11 (and 12)Exploring what's new in Java 10 and 11 (and 12)
Exploring what's new in Java 10 and 11 (and 12)Miro Cupak
 
Exploring what's new in Java 10 and 11
Exploring what's new in Java 10 and 11Exploring what's new in Java 10 and 11
Exploring what's new in Java 10 and 11Miro Cupak
 
Exploring what's new in Java in 2018
Exploring what's new in Java in 2018Exploring what's new in Java in 2018
Exploring what's new in Java in 2018Miro Cupak
 

More from Miro Cupak (20)

Exploring the latest and greatest from Java 14
Exploring the latest and greatest from Java 14Exploring the latest and greatest from Java 14
Exploring the latest and greatest from Java 14
 
Exploring reactive programming in Java
Exploring reactive programming in JavaExploring reactive programming in Java
Exploring reactive programming in Java
 
Exploring the last year of Java
Exploring the last year of JavaExploring the last year of Java
Exploring the last year of Java
 
Local variable type inference - Will it compile?
Local variable type inference - Will it compile?Local variable type inference - Will it compile?
Local variable type inference - Will it compile?
 
The Good, the Bad and the Ugly of Java API design
The Good, the Bad and the Ugly of Java API designThe Good, the Bad and the Ugly of Java API design
The Good, the Bad and the Ugly of Java API design
 
Local variable type inference - Will it compile?
Local variable type inference - Will it compile?Local variable type inference - Will it compile?
Local variable type inference - Will it compile?
 
Exploring reactive programming in Java
Exploring reactive programming in JavaExploring reactive programming in Java
Exploring reactive programming in Java
 
The good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designThe good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API design
 
Master class in modern Java
Master class in modern JavaMaster class in modern Java
Master class in modern Java
 
The good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designThe good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API design
 
Exploring reactive programming in Java
Exploring reactive programming in JavaExploring reactive programming in Java
Exploring reactive programming in Java
 
The good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designThe good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API design
 
Writing clean code with modern Java
Writing clean code with modern JavaWriting clean code with modern Java
Writing clean code with modern Java
 
The good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API designThe good, the bad, and the ugly of Java API design
The good, the bad, and the ugly of Java API design
 
Master class in modern Java
Master class in modern JavaMaster class in modern Java
Master class in modern Java
 
Exploring reactive programming in Java
Exploring reactive programming in JavaExploring reactive programming in Java
Exploring reactive programming in Java
 
Writing clean code with modern Java
Writing clean code with modern JavaWriting clean code with modern Java
Writing clean code with modern Java
 
Exploring what's new in Java 10 and 11 (and 12)
Exploring what's new in Java 10 and 11 (and 12)Exploring what's new in Java 10 and 11 (and 12)
Exploring what's new in Java 10 and 11 (and 12)
 
Exploring what's new in Java 10 and 11
Exploring what's new in Java 10 and 11Exploring what's new in Java 10 and 11
Exploring what's new in Java 10 and 11
 
Exploring what's new in Java in 2018
Exploring what's new in Java in 2018Exploring what's new in Java in 2018
Exploring what's new in Java in 2018
 

Recently uploaded

Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 

Recently uploaded (20)

Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 

EnergYT: Energy Efficient YouTube Player

  • 1. EnergYT: Energy Efficient YouTube Player Khaled Ziyaeen Michail Giannakopoulos Miroslav Cupak
  • 2. Outline • Problem • Motivation • Approach • Architecture • Implementation • Future Work • Related Work • Conclusion
  • 3. Problem • Energy is scarce on mobile phones. • One of the most energy consuming tasks on a mobile phone is streaming and playing video content – GSM (WiFi) and backlight are two highest energy consumers
  • 5. Network Data Download Consumption
  • 6. Signal Strength vs. Energy Use • Higher Signal Strength results in lower energy consumption – Energy Consumption increased by 30% when signal strength lowered by 10dBm over 3G data download • 3G data download suffers more severely than WiFi data download when signal strength is lowered
  • 7. Motivation • Opportunity to save energy during YouTube video streaming – Particularly, backlight and data download • Backlight energy consumption is set by the user • Data Download energy consumption can be controlled by app developer
  • 8. Approach • Save energy during video streaming without interrupting user experience in any way • Schedule data downloads during periods of high signal strength • Implement this energy-aware feature into a new Android YouTube media player – Download a YouTube video from a YouTube link
  • 9. Http Request TCP Socket Connectionwith YoutubeServer MobileStorage Source File Media Player Connection Component Media Component Append Server Component Localhost Connection Process Request Stream Content EnergYT Architecture
  • 10. Implementation • Connection Component • Server Component • Media Component
  • 11. Http Request TCP Socket Connectionwith YoutubeServer MobileStorage Source File Media Player Connection Component Media Component Append Server Component Localhost Connection Process Request Stream Content EnergYT Architecture
  • 12. Connection Component • Determines actual video URL from YouTube link • Downloads video data in chunks • Stores video data into local file • Signal strength is monitored – Connection closed when 1. Signal strength drops below threshold 2. Remaining buffer allows delaying next chunk download – Connection reopened when signal is strong again
  • 13. Energy-Aware Algorithm while (video file is being downloaded) { if (bufferSize > DISCONNECT_THRESHOLD && currSignal < prevSignal && connection is on) disconnect(); if ((bufferSize > CONNECT_THRESHOLD && connection is off) || (currSignal > prevSignal)) { prevSignal <- getSignal(); connect(); downloadVideoChunk(); } }
  • 14. Http Request TCP Socket Connectionwith YoutubeServer MobileStorage Source File Media Player Connection Component Media Component Append Server Component Localhost Connection Process Request Stream Content EnergYT Architecture
  • 15. Server Component • Listens for local client connection • Streams video content to Media Component – Reads and transmits local file created by Connection Component • Reads file while video content is being downloaded by Connection Component
  • 16. Http Request TCP Socket Connectionwith YoutubeServer MobileStorage Source File Media Player Connection Component Media Component Append Server Component Localhost Connection Process Request Stream Content EnergYT Architecture
  • 17. Media Component • Connects to Server Component – setVideoURI(“127.0.0.1:8893/file”); • Plays video as soon as it receives content from Server Component • Performs local buffering – Allows video playback even when connection is closed by Connection Component – Waits for video content if none available • Enables user to control playback
  • 18. Major Issues • Reverse engineering approach to retrieve the actual Youtube streaming URL • Reconnecting to continue download from a specific point • Getting video in an encoding supported by Android’s VideoView widget • Enabling playback of incomplete files • Turning off radio from the application (Fast Dormancy)
  • 19. Future Work • Evaluation process: – Energy consumption comparing simple version of our media player versus energy-aware one – Use AIRPLANE_MODE to simulate radio shutdown • Cannot be enabled from the application layer • Develop a more sophisticated method for predicting the threshold values
  • 20. Related Work • “Envi: Energy Efficient Video Player for Mobiles”, S.Suneja, V.Navda, R.Ramjee, E.DeLara • “Bartendr: a practical approach to energy-aware cellular data scheduling”, A.Schulman, V.Navda, R.Ramjee, N.Spring, P.Deshpande, C.Grunewald, K.Jain, V.N.Padmanabhan – MobiCom, 2010 • “Energy Consumption in Mobile Phones: A Measurement Study and Implementations for Network Applications”, N.Balasubramanian, A.Balasubramanian, A.Venkataramani – ICM, 2009 • “Energy Consumption of Mobile YouTube: Quantitative Measurement and Analysis”, Y.Xiao, R.S.Kalyanaraman, A.Yla-Jaaski – NGMAST, 2008 • “An analysis of Power Consumption in a Smartphone”, A.Carroll, G.Heiser – USENIX, 2010
  • 21. Conclusion • We developed the infrastructure for an energy aware YouTube player on the Android Platform • We developed an energy aware algorithm for streaming YouTube videos.