AVContentKeySession Best Practices

Size: px
Start display at page:

Download "AVContentKeySession Best Practices"

Transcription

1 Session #WWDC18 AVContentKeySession Best Practices 507 Anil Katti, AVFoundation Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

2 Agenda

3 Agenda FairPlay Streaming overview

4 Agenda FairPlay Streaming overview AVContentKeySession API

5 Agenda FairPlay Streaming overview AVContentKeySession API Common pitfalls around key delivery

6 Agenda FairPlay Streaming overview AVContentKeySession API Common pitfalls around key delivery Frequently asked questions

7 FairPlay Streaming Overview

8 FairPlay Streaming Overview Introduced in 2015 Protects HLS streams

9 FairPlay Streaming Overview Introduced in 2015 Protects HLS streams Specifies steps to securely deliver content decryption keys

10 FairPlay Streaming Overview

11 FairPlay Streaming Overview Application

12 FairPlay Streaming Overview Application FPS Key Server Module Apple Platform

13 FairPlay Streaming Overview Application AVFoundation Delegate AVAssetResourceLoaderDelegate FPS Key Server Module AVFoundation AVAssetResourceLoader Apple Platform

14 FairPlay Streaming Overview Application AVFoundation Delegate AVAssetResourceLoaderDelegate FPS Load Key Key Server Module AVFoundation AVAssetResourceLoader Apple Platform

15 FairPlay Streaming Overview Application AVFoundation Delegate AVAssetResourceLoaderDelegate SPC = Secure Playback Context (Encrypted Key Request) Load Key Get SPC FPS Key Server Module AVFoundation AVAssetResourceLoader Apple Platform

16 FairPlay Streaming Overview Application AVFoundation Delegate AVAssetResourceLoaderDelegate SPC = Secure Playback Context (Encrypted Key Request) Load Key Get SPC SPC FPS Key Server Module AVFoundation AVAssetResourceLoader Apple Platform

17 FairPlay Streaming Overview Application SPC AVFoundation Delegate AVAssetResourceLoaderDelegate SPC = Secure Playback Context (Encrypted Key Request) Load Key Get SPC SPC FPS Key Server Module AVFoundation AVAssetResourceLoader Apple Platform

18 FairPlay Streaming Overview Application SPC CKC AVFoundation Delegate AVAssetResourceLoaderDelegate SPC = Secure Playback Context (Encrypted Key Request) CKC = Content Key Context (Encrypted Key Response) Load Key Get SPC SPC FPS Key Server Module AVFoundation AVAssetResourceLoader Apple Platform

19 FairPlay Streaming Overview Application SPC CKC AVFoundation Delegate AVAssetResourceLoaderDelegate SPC = Secure Playback Context (Encrypted Key Request) CKC = Content Key Context (Encrypted Key Response) Load Key Get SPC SPC CKC FPS Key Server Module AVFoundation AVAssetResourceLoader Apple Platform

20 FairPlay Streaming Overview Application SPC CKC AVAssetResourceLoaderDelegate SPC = Secure Playback Context (Encrypted Key Request) CKC = Content Key Context (Encrypted Key Response) Load Key Get SPC SPC CKC FPS Key Server Module AVAssetResourceLoader Apple Platform

21 AVContentKeySession

22 AVContentKeySession Introduced in 2017

23 AVContentKeySession Introduced in 2017 Designed around content decryption keys

24 AVContentKeySession Introduced in 2017 Designed around content decryption keys Simplified key loading process

25 AVContentKeySession Introduced in 2017 Designed around content decryption keys Simplified key loading process Home for new content protection features

26 AVContentKeySession Introduced in 2017 Designed around content decryption keys Simplified key loading process Home for new content protection features Great adoption - helps optimize key delivery

27 AVAssetResourceLoader Application AVAssetResourceLoaderDelegate AVAssetResourceLoader Apple Platform

28 AVAssetResourceLoader Application AVAssetResourceLoaderDelegate Load Key Key AVAssetResourceLoader Apple Platform

29 AVAssetResourceLoader Application AVAssetResourceLoaderDelegate Load Key Key AVAssetResourceLoader Apple Platform

30 AVContentKeySession Application AVAssetResourceLoaderDelegate AVAssetResourceLoader Apple Platform

31 AVContentKeySession Application AVContentKeySessionDelegate AVContentKeySession Apple Platform

32 AVContentKeySession Application AVContentKeySessionDelegate Initiate Key Loading Load Key Key AVContentKeySession Apple Platform

33 How Do I Reduce Playback Startup Delay?

34 How Do I Reduce Playback Startup Delay? Preload keys that you predict might be used

35 How Do I Reduce Playback Startup Delay? Preload keys that you predict might be used Batch up key requests - reduce round-trips to key server

36 How Do I Reduce Playback Startup Delay? Preload keys that you predict might be used Batch up key requests - reduce round-trips to key server //Initiate Key Loading Process contentkeysession.processcontentkeyrequest(withidentifier: "skd://mykey", initializationdata: nil, options: nil) //Delegate Callback func contentkeysession(_ session: AVContentKeySession, didprovide keyrequest: AVContentKeyRequest)

37 How Do I Reduce Playback Startup Delay? Preload keys that you predict might be used Batch up key requests - reduce round-trips to key server //Initiate Key Loading Process contentkeysession.processcontentkeyrequest(withidentifier: "skd://mykey", initializationdata: nil, options: nil) //Delegate Callback func contentkeysession(_ session: AVContentKeySession, didprovide keyrequest: AVContentKeyRequest)

38 Could A Key Be Requested Again?

39 Could A Key Be Requested Again? Yes

40 Could A Key Be Requested Again? Yes New keys might be required for decryption (AirPlay, Lightning Digital AV Adapter)

41 Could A Key Be Requested Again? Yes New keys might be required for decryption (AirPlay, Lightning Digital AV Adapter) Always be prepared to answer redundant key requests

42 How Do I Preload All Keys?

43 How Do I Preload All Keys? Need key identifier to load key

44 How Do I Preload All Keys? Need key identifier to load key Obtain all key identifiers out-of-band

45 How Do I Preload All Keys? Need key identifier to load key Obtain all key identifiers out-of-band Advertise session keys ( EXT-X-SESSION-KEY ) in master m3u8 Initiate preloading urlasset.resourceloader.preloadseligiblecontentkeys = true

46 How Do I Preload All Keys? Need key identifier to load key Obtain all key identifiers out-of-band Advertise session keys ( EXT-X-SESSION-KEY ) in master m3u8 Initiate preloading urlasset.resourceloader.preloadseligiblecontentkeys = true Measuring and Optimizing HLS Performance WWDC 2018

47 How Can My Live Streams Avoid The Thundering Herd?

48 How Can My Live Streams Avoid The Thundering Herd? Disperse key request events

49 How Can My Live Streams Avoid The Thundering Herd? Disperse key request events Clients rotate keys at the same time -> impulse load on key server

50 How Can My Live Streams Avoid The Thundering Herd? Disperse key request events Clients rotate keys at the same time -> impulse load on key server Load keys before EXT-X-KEY tag appears

51 How Can My Live Streams Avoid The Thundering Herd? Disperse key request events Clients rotate keys at the same time -> impulse load on key server Load keys before EXT-X-KEY tag appears Scale live offering by load balancing key loading requests

52 How Can My Live Streams Avoid The Thundering Herd? Disperse key request events Clients rotate keys at the same time -> impulse load on key server Load keys before EXT-X-KEY tag appears Scale live offering by load balancing key loading requests Advances in HTTP Live Streaming WWDC 2017

53 What Is Offline Rentals?

54 What Is Offline Rentals? Define two expiration durations on offline FairPlay Streaming keys

55 What Is Offline Rentals? Define two expiration durations on offline FairPlay Streaming keys Storage duration Persistent Key Expires in 30 days

56 What Is Offline Rentals? Define two expiration durations on offline FairPlay Streaming keys Storage duration Playback duration Persistent Key Persistent Key Expires in 24 hours

57 What Is Offline Rentals? Define two expiration durations on offline FairPlay Streaming keys Storage duration Playback duration Expiration durations are enforced even when the device is offline Persistent Key Persistent Key Expires in 24 hours

58 How Do I Do Offline Rentals?

59 How Do I Do Offline Rentals? Use Offline Key TLLV

60 How Do I Do Offline Rentals? Use Offline Key TLLV Signaled in CKC used while requesting persistent key

61 How Do I Do Offline Rentals?

62 How Do I Do Offline Rentals? //Requesting persistent key from AVPersistableContentKeyRequest let persistentkey = try persistablekeyrequest.persistablecontentkey(fromkeyvendorresponse: ckcdata, options: nil)

63 How Do I Do Offline Rentals? //Requesting persistent key from AVPersistableContentKeyRequest let persistentkey = try persistablekeyrequest.persistablecontentkey(fromkeyvendorresponse: ckcdata, options: nil) Persistent Key

64 How Do I Do Offline Rentals? //Requesting persistent key from AVPersistableContentKeyRequest let persistentkey = try persistablekeyrequest.persistablecontentkey(fromkeyvendorresponse: ckcdata, options: nil) Persistent Key

65 How Do I Do Offline Rentals? //Requesting persistent key from AVPersistableContentKeyRequest let persistentkey = try persistablekeyrequest.persistablecontentkey(fromkeyvendorresponse: ckcdata, options: nil) Expires in 30 days Persistent Key

66 How Do I Do Offline Rentals? //Requesting persistent key from AVPersistableContentKeyRequest let persistentkey = try persistablekeyrequest.persistablecontentkey(fromkeyvendorresponse: ckcdata, options: nil) Persistent Key Persistent Key Expires in 30 days

67 How Do I Do Offline Rentals? Persistent Key Persistent Key Expires in 30 days

68 How Do I Do Offline Rentals? //Delegate Callback func contentkeysession(_ session: AVContentKeySession, didupdatepersistablecontentkey persistablecontentkey: Data, forcontentkeyidentifier keyidentifier: Any) Expires in 30 days Persistent Key Updated Persistent Key

69 How Do I Do Offline Rentals? //Delegate Callback func contentkeysession(_ session: AVContentKeySession, didupdatepersistablecontentkey persistablecontentkey: Data, forcontentkeyidentifier keyidentifier: Any) Expires in 30 days Updated Persistent Key Updated Persistent Key

70 How Do I Do Offline Rentals? //Delegate Callback func contentkeysession(_ session: AVContentKeySession, didupdatepersistablecontentkey persistablecontentkey: Data, forcontentkeyidentifier keyidentifier: Any) Expires in 24 hours Updated Persistent Key Updated Persistent Key

71 How Do I Handle Errors While Loading Keys?

72 How Do I Handle Errors While Loading Keys? When something fails

73 How Do I Handle Errors While Loading Keys? When something fails Report error to AVFoundation //Setting error on an AVContentKeyRequest contentkeyrequest.processcontentkeyresponseerror(error) //Setting error on an AVAssetResourceLoadingRequest resourceloadingrequest.finishloading(with: error)

74 How Do I Handle Errors While Loading Keys? When something fails Report error to AVFoundation //Setting error on an AVContentKeyRequest contentkeyrequest.processcontentkeyresponseerror(error) //Setting error on an AVAssetResourceLoadingRequest resourceloadingrequest.finishloading(with: error) Monitor error logs and address root-cause

75 How Do I Handle Errors While Loading Keys? When something fails Report error to AVFoundation //Setting error on an AVContentKeyRequest contentkeyrequest.processcontentkeyresponseerror(error) //Setting error on an AVAssetResourceLoadingRequest resourceloadingrequest.finishloading(with: error) Monitor error logs and address root-cause Error Handling Best Practices for HTTP Live Streaming WWDC 2017

76 Common Pitfalls While Delivering Keys

77 Common Pitfalls While Delivering Keys Taking too long to provide key response Player times out waiting for key response

78 Common Pitfalls While Delivering Keys Taking too long to provide key response Player times out waiting for key response Deliver keys as soon as possible

79 Common Pitfalls While Delivering Keys Taking too long to provide key response Player times out waiting for key response Deliver keys as soon as possible Survey playeritem.accesslogs()

80 Common Pitfalls While Delivering Keys

81 Common Pitfalls While Delivering Keys Using same keys across variants with different HDCP requirements HDCP requirement is signaled inside key response

82 Common Pitfalls While Delivering Keys Using same keys across variants with different HDCP requirements HDCP requirement is signaled inside key response Use multiple key identifiers

83 Common Pitfalls While Delivering Keys

84 Common Pitfalls While Delivering Keys Using persistent keys to answer all key loading requests Persistent keys cannot be shared across devices (AirPlay)

85 Common Pitfalls While Delivering Keys Using persistent keys to answer all key loading requests Persistent keys cannot be shared across devices (AirPlay) Make sure key loading request accepts persistent keys

86 Common Pitfalls While Delivering Keys Using persistent keys to answer all key loading requests Persistent keys cannot be shared across devices (AirPlay) Make sure key loading request accepts persistent keys Minor API changes in ios 11.2+

87 Is Persistent Key Accepted As Response?

88 Is Persistent Key Accepted As Response? Using AVContentKeySession do { try contentkeyrequest.respondbyrequestingpersistablecontentkeyrequestandreturnerror() } catch { //Fallback to provide online FairPlay Streaming key from key server }

89 Is Persistent Key Accepted As Response?

90 Is Persistent Key Accepted As Response? Using AVAssetResourceLoader if let contenttypes = resourceloadingrequest.contentinformationrequest?.allowedcontenttypes,!contenttypes.contains(avstreamingkeydeliverypersistentcontentkeytype) { //Fallback to provide online FairPlay Streaming key from key server }

91 Summary

92 Summary AVContentKeySession API

93 Summary AVContentKeySession API How to improve playback startup?

94 Summary AVContentKeySession API How to improve playback startup? How to scale live streaming?

95 Summary AVContentKeySession API How to improve playback startup? How to scale live streaming? How to do offline rentals?

96 Summary AVContentKeySession API How to improve playback startup? How to scale live streaming? How to do offline rentals? How to handle failures while loading keys?

97 Summary AVContentKeySession API How to improve playback startup? How to scale live streaming? How to do offline rentals? How to handle failures while loading keys? How to avoid common pitfalls while delivering keys?

98 More Information

99

Content Protection for HTTP Live Streaming

Content Protection for HTTP Live Streaming Media #WWDC15 Content Protection for HTTP Live Streaming Session 502 Roger Pantos HTTP Live Streaming Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without

More information

HLS Authoring Update. Media #WWDC17. Eryk Vershen, AVFoundation Engineer

HLS Authoring Update. Media #WWDC17. Eryk Vershen, AVFoundation Engineer Session Media #WWDC17 HLS Authoring Update 515 Eryk Vershen, AVFoundation Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

More information

Advances in AVFoundation Playback

Advances in AVFoundation Playback Media #WWDC16 Advances in AVFoundation Playback Waiting, looping, switching, widening, optimizing Session 503 Sam Bushell Media Systems Architect 2016 Apple Inc. All rights reserved. Redistribution or

More information

Validating HTTP Live Streams

Validating HTTP Live Streams Media #WWDC16 Validating HTTP Live Streams Session 510 Eryk Vershen Media Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

More information

What s New in tvos #WWDC16. App Frameworks. Session 206. Hans Kim tvos Engineer

What s New in tvos #WWDC16. App Frameworks. Session 206. Hans Kim tvos Engineer App Frameworks #WWDC16 What s New in tvos Session 206 Hans Kim tvos Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Welcome

More information

What s New in Audio. Media #WWDC17. Akshatha Nagesh, AudioEngine-eer Béla Balázs, Audio Artisan Torrey Holbrook Walker, Audio/MIDI Black Ops

What s New in Audio. Media #WWDC17. Akshatha Nagesh, AudioEngine-eer Béla Balázs, Audio Artisan Torrey Holbrook Walker, Audio/MIDI Black Ops Session Media #WWDC17 What s New in Audio 501 Akshatha Nagesh, AudioEngine-eer Béla Balázs, Audio Artisan Torrey Holbrook Walker, Audio/MIDI Black Ops 2017 Apple Inc. All rights reserved. Redistribution

More information

What s New in watchos

What s New in watchos Session App Frameworks #WWDC17 What s New in watchos 205 Ian Parks, watchos Engineering 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from

More information

AWS Elemental MediaPackage. User Guide

AWS Elemental MediaPackage. User Guide AWS Elemental MediaPackage User Guide AWS Elemental MediaPackage: User Guide Copyright 2018 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may

More information

Quick Interaction Techniques for watchos

Quick Interaction Techniques for watchos App Frameworks #WWDC16 Quick Interaction Techniques for watchos Session 211 Tom Witkin watchos Engineer Miguel Sanchez watchos Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display

More information

Managing Documents In Your ios Apps

Managing Documents In Your ios Apps Session #WWDC18 Managing Documents In Your ios Apps 216 Brandon Tennant, Software Engineer Thomas Deniau, Software Engineer Rony Fadel, Software Engineer 2018 Apple Inc. All rights reserved. Redistribution

More information

Internet Networking recitation #13 HLS HTTP Live Streaming

Internet Networking recitation #13 HLS HTTP Live Streaming recitation #13 HLS HTTP Live Streaming Winter Semester 2013, Dept. of Computer Science, Technion 1 2 What is Streaming? Streaming media is multimedia that is constantly received by and presented to the

More information

Introduction to Siri Shortcuts

Introduction to Siri Shortcuts #WWDC8 Introduction to Siri Shortcuts Session 2 Ari Weinstein, Siri Willem Mattelaer, Siri 208 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

What s New in TVMLKit

What s New in TVMLKit #WWDC18 What s New in TVMLKit Session 238 Jeremy Foo, tvos Engineering 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Web Inspector

More information

Enhancing your apps for the next dimension of touch

Enhancing your apps for the next dimension of touch App Frameworks #WWDC16 A Peek at 3D Touch Enhancing your apps for the next dimension of touch Session 228 Tyler Fox UIKit Frameworks Engineer Peter Hajas UIKit Frameworks Engineer 2016 Apple Inc. All rights

More information

A TV platform jelen kihívásai és a fejlődés iránya. Horváth Ede 2017 October 05.

A TV platform jelen kihívásai és a fejlődés iránya. Horváth Ede 2017 October 05. A TV platform jelen kihívásai és a fejlődés iránya. Horváth Ede 2017 October 05. APP Video content SnS content Advertisement Hybrid Video Platform Internet IPTV network Cable/DTT network satellite 3G/LTE

More information

Enabling Your App for CarPlay

Enabling Your App for CarPlay Session App Frameworks #WWDC17 Enabling Your App for CarPlay 719 Albert Wan, CarPlay Engineering 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

Mastering Drag and Drop

Mastering Drag and Drop Session App Frameworks #WWDC17 Mastering Drag and Drop 213 Tom Adriaenssen, UIKit Wenson Hsieh, WebKit Robb Böhnke, UIKit 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted

More information

Using and Extending the Xcode Source Editor

Using and Extending the Xcode Source Editor Developer Tools #WWDC16 Using and Extending the Xcode Source Editor Session 414 Mike Swingler Xcode Infrastructure and Editors Chris Hanson Xcode Infrastructure and Editors 2016 Apple Inc. All rights reserved.

More information

Media and Gaming Accessibility

Media and Gaming Accessibility Session System Frameworks #WWDC17 Media and Gaming Accessibility 217 Greg Hughes, Software Engineering Manager Charlotte Hill, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or public

More information

IMPROVING LIVE PERFORMANCE IN HTTP ADAPTIVE STREAMING SYSTEMS

IMPROVING LIVE PERFORMANCE IN HTTP ADAPTIVE STREAMING SYSTEMS IMPROVING LIVE PERFORMANCE IN HTTP ADAPTIVE STREAMING SYSTEMS Kevin Streeter Adobe Systems, USA ABSTRACT While HTTP adaptive streaming (HAS) technology has been very successful, it also generally introduces

More information

Seamless Linking to Your App

Seamless Linking to Your App App Frameworks #WWDC15 Seamless Linking to Your App Session 509 Conrad Shultz Safari and WebKit Software Engineer Jonathan Grynspan Core Services Software Engineer 2015 Apple Inc. All rights reserved.

More information

What s New in Energy Debugging

What s New in Energy Debugging #WWDC18 What s New in Energy Debugging Phillip Azar, Apple/Battery Life David Choi, Apple/Battery Life 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written

More information

Getting the Most Out of HealthKit

Getting the Most Out of HealthKit App Frameworks #WWDC16 Getting the Most Out of HealthKit What s new and best practices Session 209 Matthew Salesi ios Software Engineer Joefrey Kibuule ios Software Engineer 2016 Apple Inc. All rights

More information

Data Delivery with Drag and Drop

Data Delivery with Drag and Drop Session App Frameworks #WWDC17 Data Delivery with Drag and Drop 227 Dave Rahardja, UIKit Tanu Singhal, UIKit 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without

More information

Creating Audio Apps for watchos

Creating Audio Apps for watchos Session #WWDC18 Creating Audio Apps for watchos 504 Neil Desai, watchos Frameworks Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

Extending Your Apps with SiriKit

Extending Your Apps with SiriKit App Frameworks #WWDC16 Extending Your Apps with SiriKit Session 225 Vineet Khosla SiriKit Engineering Diana Huang SiriKit Engineering Scott Andrus SiriKit Engineering 2016 Apple Inc. All rights reserved.

More information

Mastering UIKit on tvos

Mastering UIKit on tvos App Frameworks #WWDC16 Mastering UIKit on tvos Session 210 Justin Voss UIKit Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from

More information

Widevine DRM for HLS. version 0.9

Widevine DRM for HLS. version 0.9 Widevine DRM for HLS version 0.9 Contents Revision History 3 Overview 4 References 4 HLS with CMAF support (V2) 5 Goal 5 Non-Goals 5 New Format 6 Attributes 6 Attributes mapped to DASH MPD 6 Example HLS

More information

Evidence.com May 2017 Release Notes

Evidence.com May 2017 Release Notes Evidence.com May 2017 Document Revision: A Evidence.com Version 2017.5 Apple, ios, and Safari are trademarks of Apple, Inc. registered in the US and other countries. Firefox is a trademark of The Mozilla

More information

User Manual. Admin Report Kit for IIS 7 (ARKIIS)

User Manual. Admin Report Kit for IIS 7 (ARKIIS) User Manual Admin Report Kit for IIS 7 (ARKIIS) Table of Contents 1 Admin Report Kit for IIS 7... 1 1.1 About ARKIIS... 1 1.2 Who can Use ARKIIS?... 1 1.3 System requirements... 2 1.4 Technical Support...

More information

Introducing MusicKit. Media #WWDC17. Tim Parthemore, MusicKit Services Joel Lopes Da Silva, ios Music

Introducing MusicKit. Media #WWDC17. Tim Parthemore, MusicKit Services Joel Lopes Da Silva, ios Music Session Media #WWDC17 Introducing MusicKit 502 Tim Parthemore, MusicKit Services Joel Lopes Da Silva, ios Music 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without

More information

ADAPTIVE STREAMING AT. Justin Ruggles Lead Engineer, Transcoding & Delivery

ADAPTIVE STREAMING AT. Justin Ruggles Lead Engineer, Transcoding & Delivery ADAPTIVE STREAMING AT Justin Ruggles Lead Engineer, Transcoding & Delivery justinr@vimeo.com ABOUT VIMEO Video hosting platform, founded in 2004, that allows creators to share their content in high quality,

More information

WatchKit In-Depth, Part 2

WatchKit In-Depth, Part 2 App Frameworks #WWDC15 WatchKit In-Depth, Part 2 Session 208 Nathan de Vries watchos Engineer Chloe Chang watchos Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted

More information

Introducing Password AutoFill for Apps

Introducing Password AutoFill for Apps Session App Frameworks #WWDC17 Introducing Password AutoFill for Apps Reducing friction for your users 206 Ricky Mondello, ios Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display

More information

Your Apps and Evolving Network Security Standards

Your Apps and Evolving Network Security Standards Session System Frameworks #WWDC17 Your Apps and Evolving Network Security Standards 701 Bailey Basile, Secure Transports Engineer Chris Wood, Secure Transports Engineer 2017 Apple Inc. All rights reserved.

More information

New Ways to Work with Workouts

New Ways to Work with Workouts Session #WWDC18 New Ways to Work with Workouts 707 Niharika Bedekar, Fitness Software Engineer Karim Benhmida, Health Software Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display

More information

Adaptive Video Acceleration. White Paper. 1 P a g e

Adaptive Video Acceleration. White Paper. 1 P a g e Adaptive Video Acceleration White Paper 1 P a g e Version 1.0 Veronique Phan Dir. Technical Sales July 16 th 2014 2 P a g e 1. Preface Giraffic is the enabler of Next Generation Internet TV broadcast technology

More information

imessage Apps and Stickers, Part 2

imessage Apps and Stickers, Part 2 App Frameworks #WWDC16 imessage Apps and Stickers, Part 2 Interactive Messages Session 224 Alex Carter Messages Engineer Stephen Lottermoser Messages Engineer 2016 Apple Inc. All rights reserved. Redistribution

More information

Using Grouped Notifications

Using Grouped Notifications #WWDC18 Using Grouped Notifications Session 711 Michele Campeotto, ios User Notifications 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

ios Configuration and APIs for Kiosk and Assessment Apps

ios Configuration and APIs for Kiosk and Assessment Apps Session Systems Framework #WWDC17 ios Configuration and APIs for Kiosk and Assessment Apps 716 Steve Hayman, Consulting Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not

More information

Understanding Undefined Behavior

Understanding Undefined Behavior Session Developer Tools #WWDC17 Understanding Undefined Behavior 407 Fred Riss, Clang Team Ryan Govostes, Security Engineering and Architecture Team Anna Zaks, Program Analysis Team 2017 Apple Inc. All

More information

Vision Framework. Building on Core ML. Media #WWDC17. Brett Keating, Apple Manager Frank Doepke, He who wires things together

Vision Framework. Building on Core ML. Media #WWDC17. Brett Keating, Apple Manager Frank Doepke, He who wires things together Session Media #WWDC17 Vision Framework Building on Core ML 506 Brett Keating, Apple Manager Frank Doepke, He who wires things together 2017 Apple Inc. All rights reserved. Redistribution or public display

More information

What s New in Device Configuration, Deployment, and Management

What s New in Device Configuration, Deployment, and Management Session Distribution #WWDC17 What s New in Device Configuration, Deployment, and Management 304 Todd Fernandez, Senior Manager, Device Management and Server 2017 Apple Inc. All rights reserved. Redistribution

More information

CONTENTS. Cisco Internet Streamer CDS 3.0 Software Configuration Guide iii OL CHAPTER 1 Product Overview 1-1

CONTENTS. Cisco Internet Streamer CDS 3.0 Software Configuration Guide iii OL CHAPTER 1 Product Overview 1-1 CONTENTS Preface xvii Document Revision History xvii Audience xvii Objective xviii Document Organization xviii Document Conventions xix Related Publications xx Obtaining Documentation and Submitting a

More information

irtc: Live Broadcasting

irtc: Live Broadcasting 1 irtc: Live Broadcasting Delivering ultra-low-latency media at massive scale with LiveSwitch and WebRTC Introduction In the early days of the Internet and personal computing, it wasn t uncommon to wait

More information

F5 BIG-IQ Centralized Management: Local Traffic & Network. Version 5.2

F5 BIG-IQ Centralized Management: Local Traffic & Network. Version 5.2 F5 BIG-IQ Centralized Management: Local Traffic & Network Version 5.2 Table of Contents Table of Contents BIG-IQ Local Traffic & Network: Overview... 5 What is Local Traffic & Network?... 5 Understanding

More information

A Joint SLC/RealEyes Production.

A Joint SLC/RealEyes Production. A Joint SLC/RealEyes Production www.realeyes.com www.streaminglearningcenter.com Understanding the problem Reducing latency Delivery Player Content Up and Coming Some test results Time to video play Important

More information

Announcements. Today s Topics

Announcements. Today s Topics Announcements Lab 4 is due on Monday by 11:59 PM Special Guest Lecture next Wednesday Nathan Gitter, former Head TA of 438 He is currently featured on the front page of the ios App Store (Monday Oct 15

More information

Getting and Using a MapKit JS Key

Getting and Using a MapKit JS Key #WWDC18 Getting and Using a MapKit JS Key Session 508 Eric Gelinas, MapKit JS 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

More information

Touch Bar Fundamentals

Touch Bar Fundamentals Session App Frameworks #WWDC17 Touch Bar Fundamentals 211 Chris Dreessen John Tegtmeyer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from

More information

AWS Elemental MediaPackage API Reference. API Reference

AWS Elemental MediaPackage API Reference. API Reference AWS Elemental MediaPackage API Reference API Reference API Reference: API Reference Copyright 2018 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress

More information

Core Data Best Practices

Core Data Best Practices #WWDC18 Core Data Best Practices Session 224 Scott Perry, Engineer Nick Gillett, Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

Automatic Strong Passwords and Security Code AutoFill

Automatic Strong Passwords and Security Code AutoFill Session #WWDC18 Automatic Strong Passwords and Security Code AutoFill 204 Chelsea Pugh, ios Engineer Reza Abbasian, ios Engineer Harris Papadopoulos, ios Engineer 2018 Apple Inc. All rights reserved. Redistribution

More information

LIVE2VOD: THERE S NO LONGER TIME TO WAIT

LIVE2VOD: THERE S NO LONGER TIME TO WAIT 2VOD: THERE S NO LONGER TIME TO WAIT 2VOD: THERE S NO LONGER TIME TO WAIT Live2VOD is very much the buzzword of the moment. Both the traditional broadcasters and those large scale public sector and corporate

More information

Building Apps with Dynamic Type

Building Apps with Dynamic Type Session App Frameworks #WWDC17 Building Apps with Dynamic Type 245 Clare Kasemset, Software Engineering Manager Nandini Sundar, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or

More information

Core ML in Depth. System Frameworks #WWDC17. Krishna Sridhar, Core ML Zach Nation, Core ML

Core ML in Depth. System Frameworks #WWDC17. Krishna Sridhar, Core ML Zach Nation, Core ML System Frameworks #WWDC17 Core ML in Depth Krishna Sridhar, Core ML Zach Nation, Core ML 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from

More information

Adobe Primetime Manifest Server API for Ad Insertion

Adobe Primetime Manifest Server API for Ad Insertion Adobe Primetime Manifest Server API for Ad Insertion Contents Manifest Server API for Ad Insertion...3 Overview of manifest server interactions...3 Send a command to the manifest server...4 Manifest server

More information

What s New in tvos 12

What s New in tvos 12 #WWDC18 What s New in tvos 12 Session 208 Hans Kim, tvos Engineering 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Agenda Agenda

More information

Page 1. Outline / Computer Networking : 1 st Generation Commercial PC/Packet Video Technologies

Page 1. Outline / Computer Networking : 1 st Generation Commercial PC/Packet Video Technologies Outline 15-441/15-641 Computer Networking Lecture 18 Internet Video Delivery Peter Steenkiste Slides by Professor Hui Zhang Background Technologies: - HTTP download - Real-time streaming - HTTP streaming

More information

What s New in Xcode App Signing

What s New in Xcode App Signing Developer Tools #WWDC16 What s New in Xcode App Signing Developing and distributing Session 401 Joshua Pennington Tools Engineering Manager Itai Rom Tools Engineer 2016 Apple Inc. All rights reserved.

More information

What's New in Core Spotlight

What's New in Core Spotlight Session System Frameworks #WWDC17 What's New in Core Spotlight Search on macos and ios 231 John Hörnkvist, Spotlight Lyn Fong, Spotlight 2017 Apple Inc. All rights reserved. Redistribution or public display

More information

Getting Published in Apple News

Getting Published in Apple News Media #WWDC16 Getting Published in Apple News Session 502 Ryan Griggs Apple News 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

More information

Introduction. Input Format Support

Introduction. Input Format Support Introduction Transcode Multiscreen includes transcoding software specifically designed for adaptive bit rate encoding using both GPUs and CPUs. It simultaneously produces multiple bit-rate variants of

More information

Creating Great App Previews

Creating Great App Previews Services #WWDC14 Creating Great App Previews Session 304 Paul Turner Sr. Operations Manager itunes Digital Supply Chain Engineering 2014 Apple Inc. All rights reserved. Redistribution or public display

More information

Localization Best Practices on tvos

Localization Best Practices on tvos Session App Frameworks #WWDC17 Localization Best Practices on tvos 248 Joaquim Lobo Silva, Internationalization Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not

More information

Internet Video Delivery. Professor Hui Zhang

Internet Video Delivery. Professor Hui Zhang 18-345 Internet Video Delivery Professor Hui Zhang 1 1990 2004: 1 st Generation Commercial PC/Packet Video Technologies Simple video playback, no support for rich app Not well integrated with Web browser

More information

Introducing PDFKit on ios

Introducing PDFKit on ios Session App Frameworks #WWDC17 Introducing PDFKit on ios PDF on macos and ios 241 Jeremy Bridon, Software Engineer Nicki Brower, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or

More information

VNNOX Cloud-Based Publishing Service XI'AN NOVASTAR TECH CO.,L User Guide (Pro) Product Version: Document Number: V6.5.0 NS

VNNOX Cloud-Based Publishing Service XI'AN NOVASTAR TECH CO.,L User Guide (Pro) Product Version: Document Number: V6.5.0 NS VNNOX Cloud-Based Publishing Service XI'AN NOVASTAR TECH CO.,L (Pro) Product Version: Document Number: V6.5.0 NS170100148 Copyright 2018 Xi an NovaStar Tech Co., Ltd. All Rights Reserved. No part of this

More information

App Extension Best Practices

App Extension Best Practices App Frameworks #WWDC15 App Extension Best Practices Session 224 Sophia Teutschler UIKit Engineer Ian Baird CoreOS Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted

More information

Dolby Vision. Streams within the HTTP Live Streaming format

Dolby Vision. Streams within the HTTP Live Streaming format Dolby Vision Streams within the HTTP Live Streaming format Version 2.0 13 November 2018 Copyright 2018 Dolby Laboratories. All rights reserved. Unauthorized use, sale, or duplication is prohibited. This

More information

Building for Voice with Siri Shortcuts

Building for Voice with Siri Shortcuts #WWDC18 Building for Voice with Siri Shortcuts Session 214 Amit Jain, Siri Ayaka Nonaka, Siri 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

Introducing On Demand Resources

Introducing On Demand Resources App Frameworks #WWDC15 Introducing On Demand Resources An element of App Thinning Session 214 Steve Lewallen Frameworks Engineering Tony Parker Cocoa Frameworks 2015 Apple Inc. All rights reserved. Redistribution

More information

Your Apps and the Future of macos Security

Your Apps and the Future of macos Security #WWDC18 Your Apps and the Future of macos Security Pierre-Olivier Martel, Security Engineering Manager Kelly Yancey, OS Security Garrett Jacobson, Trusted Execution 2018 Apple Inc. All rights reserved.

More information

Building Faster in Xcode

Building Faster in Xcode #WWDC18 Building Faster in Xcode Session 408 David Owens, Xcode Engineer Jordan Rose, Swift Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written

More information

Writing Energy Efficient Apps

Writing Energy Efficient Apps Session App Frameworks #WWDC17 Writing Energy Efficient Apps 238 Daniel Schucker, Software Power Engineer Prajakta Karandikar, Software Power Engineer 2017 Apple Inc. All rights reserved. Redistribution

More information

INTRODUCTION TO ARCHITECTING YOUR IOS APP

INTRODUCTION TO ARCHITECTING YOUR IOS APP INTRODUCTION TO ARCHITECTING YOUR IOS APP AGENDA Goals of software architecture Design guidelines Practical tips GOALS OF SOFTWARE ARCHITECTURE GOALS OF SOFTWARE ARCHITECTURE Code is comprehensible for

More information

Getting to Know Swift Package Manager

Getting to Know Swift Package Manager #WWDC18 Getting to Know Swift Package Manager Session 411 Rick Ballard, SwiftPM Release Manager Boris Buegling, Developer Tools Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display

More information

Widevine DRM Proxy Integration. version 2.14

Widevine DRM Proxy Integration. version 2.14 Widevine DRM Proxy Integration version 2.14 Contents Introduction 6 System Diagram 6 Workflow 7 GetLicense API 8 Request 8 Policy Overrides 12 Session Initialization 14 Content Key Specs 15 Example of

More information

IPTV / OTT End-to-end Solution. Launch, manage and monetize your interactive TV system

IPTV / OTT End-to-end Solution. Launch, manage and monetize your interactive TV system IPTV / OTT End-to-end Solution Launch, manage and monetize your interactive TV system 1 Telebreeze IPTV/OTT Platform Telebreeze provides professional technical solution for IPTV / OTT businesses. The Telebreeze

More information

SamKnows test methodology

SamKnows test methodology SamKnows test methodology Download and Upload (TCP) Measures the download and upload speed of the broadband connection in bits per second. The transfer is conducted over one or more concurrent HTTP connections

More information

What s New in imessage Apps

What s New in imessage Apps Session App Frameworks #WWDC17 What s New in imessage Apps 234 Eugene Bistolas, Messages Engineer Jay Chae, Messages Engineer Stephen Lottermoser, Messages Engineer 2017 Apple Inc. All rights reserved.

More information

What s New in MapKit. App Frameworks #WWDC17. Fredrik Olsson

What s New in MapKit. App Frameworks #WWDC17. Fredrik Olsson Session App Frameworks #WWDC17 What s New in MapKit 237 Fredrik Olsson 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. MKMapView.mapType.standard

More information

CarPlay Audio and Navigation Apps

CarPlay Audio and Navigation Apps #WWDC18 CarPlay Audio and Navigation Apps Tunes and turns Jonathan Hersh, ios Car Experience Albert Wan, ios Car Experience Mike Knippers, ios Car Experience 2018 Apple Inc. All rights reserved. Redistribution

More information

What s New in SpriteKit

What s New in SpriteKit Graphics and Games #WWDC16 What s New in SpriteKit Session 610 Ross Dexter Games Technologies Engineer Clément Boissière Games Technologies Engineer 2016 Apple Inc. All rights reserved. Redistribution

More information

BIG-IQ Centralized Management: ADC. Version 5.0

BIG-IQ Centralized Management: ADC. Version 5.0 BIG-IQ Centralized Management: ADC Version 5.0 Table of Contents Table of Contents BIG-IQ Application Delivery Controller: Overview...5 What is Application Delivery Controller?...5 Managing Device Resources...7

More information

How Libre can you go?

How Libre can you go? How Libre can you go? Reaching as many viewers as possible using only libre video technologies. Phil Cluff, February 2019 Reaching as many viewers as possible using only libre video technologies. Reaching

More information

Adobe Primetime Manifest Server API for Ad Insertion

Adobe Primetime Manifest Server API for Ad Insertion Adobe Primetime Manifest Server API for Ad Insertion Contents Manifest Server API for Ad Insertion...3 Overview of Manifest Server Interactions...3 Sending a Command to the Manifest Server...4 Manifest

More information

Monetize and Promote Your App with iad

Monetize and Promote Your App with iad Media #WWDC15 Monetize and Promote Your App with iad From design to launch Session 503 Carol Teng Shashank Phadke 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without

More information

MODELING REAL-TIME MULTIMEDIA STREAMING USING HLS PROTOCOL

MODELING REAL-TIME MULTIMEDIA STREAMING USING HLS PROTOCOL MODELING REAL-TIME MULTIMEDIA STREAMING USING HLS PROTOCOL Smita R Gupta 1, Krunal Panchal 2 1 Studen, Information Technology, L.J. Institute of Engineering & Technology, Gujarat, India 1 Project Trainee,

More information

Application Notes. METTLER TOLEDO Fresh Look. Technical Description

Application Notes. METTLER TOLEDO Fresh Look. Technical Description Application Notes METTLER TOLEDO Fresh Look Technical Description Content 1; Overview... 2 2; Content Administration... 4 3; Player software... 5 4; Communication and Bandwidth... 7 5; Server Requirements...

More information

Course Overview and Agenda

Course Overview and Agenda kamai Technologies Inc. Course Overview and Agenda Akamai University Media Delivery Solutions Training Course Overview and Agenda Akamai Media Delivery Solutions Training Version 3.6 Course Overview The

More information

Thread Sanitizer and Static Analysis

Thread Sanitizer and Static Analysis Developer Tools #WWDC16 Thread Sanitizer and Static Analysis Help with finding bugs in your code Session 412 Anna Zaks Manager, Program Analysis Team Devin Coughlin Engineer, Program Analysis Team 2016

More information

OOYALA LIVE USER GUIDE

OOYALA LIVE USER GUIDE OOYALA LIVE USER GUIDE CONTENTS OOYALA LIVE OVERVIEW 4 BEFORE YOU START 6 DELIVERING LIVE CONTENT 7 Setting Up a 24x7 or Ad-hoc Channel Channel General Setup Channel Encoding Setup Channel Packaging Setup

More information

Introduction to Cisco TV CDS Software APIs

Introduction to Cisco TV CDS Software APIs CHAPTER 1 Cisco TV Content Delivery System (CDS) software provides two sets of application program interfaces (APIs): Monitoring Real Time Streaming Protocol (RTSP) Stream Diagnostics The Monitoring APIs

More information

Getting Started with CareKit

Getting Started with CareKit App Frameworks #WWDC16 Getting Started with CareKit Session 237 Umer Khan Software Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

Chapter 4 Communication

Chapter 4 Communication DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S. TANENBAUM MAARTEN VAN STEEN Chapter 4 Communication Layered Protocols (1) Figure 4-1. Layers, interfaces, and protocols in the OSI

More information

DIGITAL SIGNAGE IPTV & VIDEO STREAMING WORLD LEADING SINGLE PLATFORM SOLUTION FOR IPTV & DIGITAL SIGNAGE

DIGITAL SIGNAGE IPTV & VIDEO STREAMING WORLD LEADING SINGLE PLATFORM SOLUTION FOR IPTV & DIGITAL SIGNAGE DIGITAL SIGNAGE IPTV & VIDEO STREAMING WORLD LEADING SINGLE PLATFORM SOLUTION FOR IPTV & DIGITAL SIGNAGE www.tripleplay.tv enquiries@tripleplay.tv THE TRIPLEPLAY PLATFORM DIGITAL SIGNAGE USES FOR DIGITAL

More information

Salesforce1 Mobile Security White Paper. Revised: April 2014

Salesforce1 Mobile Security White Paper. Revised: April 2014 Salesforce1 Mobile Security White Paper Revised: April 2014 Table of Contents Introduction Salesforce1 Architecture Overview Authorization and Permissions Communication Security Authentication OAuth Pairing

More information

What s New in CloudKit

What s New in CloudKit System Frameworks #WWDC15 What s New in CloudKit Session 704 Olivier Bonnet icloud Client Eric Krugler icloud Server 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted

More information

INTERNET ENGINEERING. HTTP Protocol. Sadegh Aliakbary

INTERNET ENGINEERING. HTTP Protocol. Sadegh Aliakbary INTERNET ENGINEERING HTTP Protocol Sadegh Aliakbary Agenda HTTP Protocol HTTP Methods HTTP Request and Response State in HTTP Internet Engineering 2 HTTP HTTP Hyper-Text Transfer Protocol (HTTP) The fundamental

More information