extending cdn to the device - developermarch...with predictive content delivery sdk vijay kolli head...

Post on 29-Mar-2021

3 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Extending CDN to the Devicewith Predictive Content Delivery SDK

Vijay Kolli

Head of Mobile Strategy, Akamai Technologies

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

22% of Digital Video Consumption Is On Mobile

Data from NPD group

Screen size, resolution and display clarity are important factors

influencing the mobile user experience

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

By 2020, 60% Mobile Data Traffic Will Be Video

* tablets are associated with a much higher share of online video traffic than smartphones

● Total mobile video traffic over the next 6 years will

be more than 22 times that of the last 6

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Why is instant gratification on mobile important?

• People != Patient

• Affects the impression of your brand

• 10s delay in loading video, 40% of your users drop off

• Lost opportunities to show a video Ad due to poor or no

connectivity

• HD quality and instant play lead to higher user

engagement with your app

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Akamai Study: 10 seconds delay 40% users drop

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Grow revenue opportunities with fast, personalized

web experiences and manage complexity from peak

demand, mobile devices and data collection.

Grow revenue opportunities with fast, personalized

web experiences and manage complexity from peak

demand, mobile devices and data collection.

Content Owners

• Access to more

video on-the-go

• A better, more

consistent

experience

• Avoid hitting data

caps & overages

Drivers Behind Scaling for the Ultimate in Video Quality

Challenges

in

Delivering

Mobile

Video

Network OwnersConsumers

• Scaled delivery of

high bitrate/high

quality content

• Maximize

consumption &

monetization

• Increase adoption

of mobile video

apps

• Efficiently deliver

heavy video traffic

• Manage

performance during

peak traffic hours

• Differentiate service

with high quality

video

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

PCD Service Builds On Akamai

PCD

+

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Grow revenue opportunities with fast, personalized

web experiences and manage complexity from peak

demand, mobile devices and data collection.

200,000+ Servers

1,200+ Networks

650+ Cities

95 Countries

A GLOBAL PLATFORM

All top 60 eCommerce sites

All top 30 M&E companies

All top 10 U.S. banks

DELIVERING 250,000 DOMAINS

25+ terabits per second

35+ million hits per second

2+ trillion deliveries per day

100+ petabytes per day

10+ million concurrent streams

ACCELERATING DAILY TRAFFIC OF

30+ % Traffic / 70+ % Pageviews

on web

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Avoid data theft and downtime by extending the

security perimeter outside the data-center and

protect from increasing frequency, scale and

sophistication of web attacks.

Avoid data theft and downtime by extending the

security perimeter outside the data-center and

protect from increasing frequency, scale and

sophistication of web attacks.

Today’s Most Common ArchitectureCloud Data Centers

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Avoid data theft and downtime by extending the

security perimeter outside the data-center and

protect from increasing frequency, scale and

sophistication of web attacks.

Avoid data theft and downtime by extending the

security perimeter outside the data-center and

protect from increasing frequency, scale and

sophistication of web attacks.

Operator Edge Delivery is a Force Multiplier

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Let’s Double Click on PCD SDK

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

PCD Lego Blocks

• Prediction: Analytics from usage data, social media, preferences provide details on what content to

curate

• Congestion Detection: Network preferences (Wi-Fi, cellular or both) and network availability identify the

timing of the downloads

• Download Manager: Background download mechanisms efficiently download content on the device

• Performance & Reporting: Scales to millions of installs. Provides detailed insights through a reporting

dashboard.

PERFORMANCE

& REPORTING

PREDICTIVE

ANALYTICS

PREDETERMINED OFF-

PEAK CELLULAR

CAPACITY AND WI-FI

DOWNLOAD

MANAGER

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

PCD SDK Gives You…

Intelligent (network, battery, storage)

Background download capability

On mobile devices and set-top-boxes

Enabling instant, zero buffering

Curated content and Ads and

Stunning video experiences

For your users

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

PCD Mobile Development Lifecycle

Develop Test Build Distribute Monitor

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

PCD Client/Server Design

Content

AggregatorsContent -Download Prediction

Network Load Prediction

Storage & Battery

Management

Cellular

Wi-Fi

Mobile Core

Control Predictive Content

Delivery Network

Data

Media Company

/

OVP

Video

Metadata

Video

Metadata

1

2

3

Akamai

CDN

Non-Akamai

CDN

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

SDK Control and Data Flow

PCD Architecture

1) Service Layer

2) Data Layer

3) Storage Layer

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

3 Layers of PCD SDKSync Layer

• Sync layer communicates with the VOC server to send registration message, establishes the login with the server

• Sync layer enforces multiple device side policies ensuring the optimal and preferred usage patterns for the client in terms of

battery life, data usage, and storage usage. (For example, prepositioning of content could be restricted to be only during

charging, or only over Wi-Fi network, only over cellular during certain time windows during the day, or at certain network

congestion levels or only so much data per day etc.).

• Sync layer is notified of availability of new download manifest on server via push notifications (Google Cloud Messaging in

case of Android, and Apple Push Notifications in case of iOS), based on which it pre-positions content on device.

Data Layer• This layer is responsible for storing the meta-data for prepositioned content on the device. On iOS platform, meta-data is

stored as part of the Core Data infrastructure provided by the platform, and on Android side, the meta-data is stored in a local

SQLite database.

• Data Layer is accessible for both UI and Sync Layers, through clearly defined API interfaces, specific to each platform (for

eg:- Content Provider interfaces in Android)

Storage Layer• Once content is prepositioned on device, it is stored in files (hls, dash, mp4), locally on device internal storage.

• Local storage the application can use to preposition content on device is configurable.

• There are eviction mechanisms that run to ensure storage usage does not exceed the allocated storage levels. Eviction

Algorithm runs when storage level is at more than 80% of the allocated space. Eviction algorithm removes expired content,

followed by oldest watched content to bring down the cache usage to 50% of the allocated storage.

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Content Metadata Ingest

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

PCD API Quick Reference

• createVocService

• register / unregister

• performCacheFill / clearCache

• likeFeed / dislikeFeed

• subscribeCategory / unSubscribeCategory

• subscribeTopic / unSubscribeTopic

• downloadFeeds(String[] feedIds);

• updateFeedConsumptionStats / updateFeedAdConsumptionStats

• getPolicyStatus / getCongestionStatus

• getMediaPath / getResourcePath

• onNewContentAvailable

• onPurgeStatus

● The SDK requires Android version 4.3 or greater. It also depends on the Android v4 support library, Google play services and Google Cloud Messaging (GCM) for Android notifications

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Monitor & Manage

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

So what can we do with PCD Service?

• User/Client initiated downloads

• Scheduled downloads

• Targeted downloads

• Auto background downloads (e.g. videos, images, text)

• Prediction (e.g. next episode, next level game assets)

• Video and Banner Ads

• Content Metadata Ingest (pull/push e.g. JSON)

• Monitor and manage (e.g. packages, usage)

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Already Powering Mobile Video, Worldwide.Australian AirlineUS OTT PlatformUK Broadcaster

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Download WatchNow App and See Yourself!

Android:

http://tinyurl.com/z34p9l3

iOS:

http://tinyurl.com/zzz5ofh

Username: your email id

Password: welcome

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Future of video is brighter than ever ☺

Create stunning video experiences with

Akamai PCD SDK

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

PCD Resources

Sign up for PCD SDK beta:

Send mail to: vkolli@akamai.com

Android and iOS SDK:

Content Metadata Ingest API:https://drive.google.com/drive/folders/0BxqQ6S2M4bgeN0h2NkhYVmR3YzQ?ths=true

PCD Product Brief:https://www.akamai.com/us/en/multimedia/documents/product-brief/predictive-content-delivery-product-brief.pdf

Architecture Approach:https://www.akamai.com/us/en/solutions/products/media-delivery/predictive-content-delivery.jsp

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

THANK YOU!QUESTIONS?

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Consistently Provide High Quality Video to Mobile Devices

No StallingNo Buffering

Always Available Very Relevant

Does Not Burden Data Plans

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Recap Predictive Content Delivery (PCD)

• Thin-client SDK & Service• Mobile first, modular and lightweight SDK for iOS and Android

• Easy SDK integration into your app, within a few hours

• Smart background downloads

• Works with DRM protected content

• Authentication, background push and monitoring services on Backend Servers

• Content aggregation & personalization• Simple backend content feed integration, MRSS, JSON

• Cache entire clip or first few segments of a video

• Personalize content through predictive analytics

• Insights & reporting dashboard• Detailed usage, push and consumption reporting dashboard

• Available through APIs for integration into your own reporting tools

• Promotion & Revenue optimization• Support for streamed and cached Ads e.g. LiveRail, Millennial Media, Google IMA

• API to promote content that has higher revenue opportunity

• Optimize delivery to individual user tastes, increase video consumption and stickiness within the app

PCD at a glance PCD Services offered

• 2 – 5

Customer

Launches

soon

• 30+ SDK

beta

customer

integrations

• 5+ content

aggregator

partners

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

PCD + DRM SDK

CMS

PCD+

Verimatrix DRM Client

Manifest

Akamai

CDN

VideoNon-VMX

Content

Aggregator

PCD

Servers

Video

Metadata

Video

Metadata

Non-Akamai

CDN

Playready **

Server

Hosted by Non-

VMX

Aggregator

Authentication and

Key Retrieval

+ Frequency, Playready, Widevine, VMX are used here as examples

Video files encoded,

encrypted and stored in

the cloud with VMX or

Non-VMX certs

1

2

3

4

1

0

VCAS *

Server

Hosted by

Frequency

©2015 AKAMAI | FASTER FORWARDTM©2015 AKAMAI | FASTER FORWARDTM

Sponsored Data

• Mobile Video Advertising is a rapidly growing part of the

advertising market (>25% by 2019)

• Driving engagement with mobile advertising is

challenging especially with data-sensitive users

• Research suggests that sponsored data increases

engagement• Page Views, Video Completion, Video starts etc.

• Cost Per View decreases

top related