Streaming Experience

35
Streaming Experience by KKStream & KKTV 官順暉 (Drake Guan), KKStream with 巫紘碩 (GDX Wu), KKTV 2016/12/06

Transcript of Streaming Experience

Page 1: Streaming Experience

Streaming Experienceby KKStream & KKTV

官順暉 (Drake Guan), KKStreamwith 巫紘碩 (GDX Wu), KKTV

2016/12/06

Page 2: Streaming Experience

Who am I?

• Technical Director, KKStream / KKBOX Group• R&D Manager, Digimax Inc• Ph.D., EECS, National Taiwan University

Page 3: Streaming Experience

Agenda

• KKStream: building and migrating Videopass from on-premises to cloud.

• KKTV: streaming service in Taiwan. • Both focus on streaming experience,

especially CDN part.

Page 4: Streaming Experience

http://videopass.jp/

Page 5: Streaming Experience
Page 6: Streaming Experience

Development strategy

• Built on cloud, AWS, from the 1st day.• Just one AWS DevOps Engineer.• Dynamic environments: dev, testing, staging,

and prod.• Scalable infrastructure, storage and bandwidth.• Powerful content encoding capability.• Standards: MPEG-DASH, HLS, CENC, …

Page 7: Streaming Experience
Page 8: Streaming Experience

Videopass

• More than 1M paid subscriptions. (Japan only)• More than 60,000 videos encoded.• 3,000 films encoded in just one day. (peak)• 3 (adaptive formats) * 1x (A/V profiles).• Couple of million video-hours watched.• EC2 instances: 4,000 cores. (peak)• Request per month: 3 billions. (peak)

Page 9: Streaming Experience

https://kktv.me/

Page 10: Streaming Experience
Page 11: Streaming Experience

KKTV

● Launched officially in Taiwan in Aug 2016.● Cloud-based SVOD service.● Offers contents in up to 1080p quality with

offline playback secured by DRM.● Largest TV Series Library in Taiwan, with

40% Korean titles, 30% Japanese titles and 30% Chinese/Taiwanese titles.

Page 12: Streaming Experience

Let’s talk about streaming!

src: http://bit.ly/2gX02VG

Page 13: Streaming Experience

#0 Livestreaming in Videopass

Page 14: Streaming Experience
Page 15: Streaming Experience

#0 Livestreaming in Videopass

Page 16: Streaming Experience

CDN edge location distribution by time on 8/27

• Not expecting so much traffic are directed to CDN edge locations outside of Japan!

Page 17: Streaming Experience

Viewing profile distribution by time on 8/27

• 74.84% avg. viewing time in [email protected]• 9.54% avg. viewing time in [email protected]• 5.52% avg. viewing time in 480p@796K• 10.10% avg. viewing time in 360p@414K

Page 18: Streaming Experience

#1 KKTV Soft Launch

● KKTV soft launched on the 6th July.● Only one CDN, CloudFront, is used.● Fortunately (or unfortunately), one CDN

works just well.● There are some TFN and Taiwan mobile

users complaining about low resolution but no big issue happened.

Page 19: Streaming Experience

TFN and Taiwan mobile users complained that they cannot play any videos from the end of Aug.

#2 TFN & Taiwan mobile

Page 20: Streaming Experience

Most of the traffic is directed outside of Taiwan.

#2 TFN & Taiwan mobile

Page 21: Streaming Experience

Multi-CDN solution

● One more CDN provider, EdgeCast.● Leverage KKBOX mpdnsd to do

multi-CDN solution by ourselves.● TFN and Taiwan mobile users will use

CloudFront directly since they works quite bad with EdgeCast.

● Other users are all routed to EdgeCast.

Page 22: Streaming Experience

● Taiwan mobile user cannot use KKTV.● Latency looks okay but download speed is very slow.● We decided to add Hinet CDN right away.

#3 Two CDNs can fail you, too

Page 23: Streaming Experience
Page 24: Streaming Experience

More CDNs

● CloudFront and EdgeCast can fail you, too. Therefore, we invite Hinet CDN in.

● Now, the routing policies get more complicated.

Page 25: Streaming Experience

Metrics for Multi-CDN Strategy

● Streaming performance○ ISP-CDN○ Location○ End-user networking environment

● Pricing○ Membership○ Marketing promotion○ Content profile○ Content popularity

Page 26: Streaming Experience

Takeaways & Lessons

● Everything fails all the time, so does CDN.● Put Multi-CDN into your core while

running streaming services from day one.● Don’t try to understand CDNs but treat

them like a black box, and then plan to build the fault-tolerant service.

Page 27: Streaming Experience

Let’s talk a little bit about us.

Page 28: Streaming Experience
Page 29: Streaming Experience

KKStream

● Customer oriented cloud-centric streaming solution.● Helps KDDI to migrate 2 video services from on-premises

to cloud in 2015.● Supports multiple business models: SVOD, AVOD, TVOD

and even virtual currency.● Applies highest security level, which is authorized by

Hollywood studios. We are the DRM implementation partners with Microsoft, Google and Apple.

● Adopts cutting-edge technologies, such as dynamic content encoding, 4K HEVC playback, HTML5 video players, FairPlay DRM, MPEG-DASH/CENC streaming, and etc.

Page 30: Streaming Experience

KKTV

● Launched in Taiwan in Aug 2016.● 1,000,000 registration in just 90 days.● Cloud-based video-on-demand service.● Offers contents in up to 1080p quality with

offline playback secured by DRM.● Largest TV Series Library in Taiwan, with

40% Korean titles, 30% Japanese titles and 30% Chinese/Taiwanese titles.

Page 31: Streaming Experience

Content Partner

Page 32: Streaming Experience

Full business line-up for video streaming industry

• With the synergy of KKTV and KKStream, KKV can provide the best fit for each field, such as:– Content aggregation– Technology component, ex: cloud

transcoder, player, content checking system…etc.

– Modulized/Full-customized platform solution

– White-brand/Co-brand service– Own-brand service with channel

partnership

Content

Technology

Product

Operation

Page 33: Streaming Experience

Uniqueness of KKV

• Unlike traditional solution companies who stand far from end-users, – KKV understand most of the pain points behind a

successful video streaming service, and care about the services more than our customer.

• Unlike numerous video OTT services companies who just integrate service from external solutions,– KKV dreams big and wants to optimize each piece of

user experience as best as we can. • By the leverage of the experience between B2B and B2C

business, it will keep stimulating and incubating the best video streaming company in the world.

Page 34: Streaming Experience