SlideShare a Scribd company logo
Brightcove live
Jordi Cenzano | @jordicenzano | jordicenzano
Tech overview
Director of engineering for live services
● Live streaming?
● Brightcove live block diagram
● Ingest
○ Best practices
● Live clipping
● Delivery
○ Best practices
○ FUTURE: In-manifest redundancy
● SSAI
● Monitoring
● Latency
○ R&D: LHLS
● R&D: Edge computing
possibilities (improve hit ratio)
Agenda
Live streaming?
Live streaming?
Is it possible to create a POC of a live
streaming platform in 5min?
Demo simple live streaming
-DEMO-
What is live streaming?
RTMP
TS (UDP/TCP/RTP FEC?)
SRT
Zixi
HLS
???
# Renditions
Bitrates
Resolutions
Codecs (profiles /
levels)
TTL?
Pre warm?
Token auth?
Geoblocked?
???
Chrome
Firefox
Safari (MacOS)
IOS
Android?
Chromecast
….
HLS
DASH
Smooth
What is live streaming?
# Renditions
Bitrates
Resolutions
Codecs (profiles /
levels)
HLS
DASH
Smooth
TTL?
Pre warm?
Token auth?
Geoblocked?
???
Chrome
Firefox
Safari (MacOS)
IOS
Android?
Chromecast
….
RTMP
TS (UDP/TCP/RTP FEC?)
SRT
Zixi
HLS
???
Brightcove live
Ingest
● Use job redundancy in different regions
● 10Mbps BW != 10Mbps in RTMP (TCP)
○ Find correct encoding bitrate (*)
● Choose closer region to your encoder
(lowest RTT, big impact in TCP throughput)
● Avoid RTMP disconnections
○ Firewalls: Allow persistent TCP
○ Use reliable networks, at least main
feed (guaranteed BW if possible)
○ Avoid RTMP “men in the middle”
● Use RTMP log/pass & IP whitelist
Ingest: Best practices
(*) https://www.switch.ch/network/tools/tcp_throughput/
Live clipping
● Clipping methods (API based)
○ Last X seconds of the live stream
○ SMPTE Timecode (Recommended)
○ UTC time (set when we receive the
data)
○ Offset from start of stream (NOT
recommended)
■ Problems on disconnections
○ Credentials:
■ Ftp, AWS, VC, OAuth
Delivery
Delivery: Best practices
In manifest redundancy
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=200000, RESOLUTION=720x480
http://A.CDN.com/480p/index.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=200000, RESOLUTION=720x480
http://B.CDN.com/480p/index.m3u8
from: https://developer.apple.com/
In manifest redundancy
Demo
Live streaming
Live SSAI
NOT targeted
(lineal broadcast)
Ads
Targeted
Client side
(player)
Server side
(SSAI)
Live streaming with SSAI
● For 1M CCU and 6s TD
● 333K DB transactions /s (in few ms each)
● 1M Adbreak req / 6s = 166K adreq/s
○ Process ads, tracking events
○ Ingest ads media
■ Res., fps, audio level, bitrate, etc
● For adbreak 6 ads and 6 TE / ad
○ 6 * 6 * 1M = 36M TE per adbreak
SSAI: Some numbers
Monitoring: REAL TIME!!!
● We currently have:
○ 808 defined metrics
○ 165 paging alerts
● Goals:
○ Be proactive
○ Analyze behavior
○ Forensics
Monitoring
Latency in HLS
R&D: LHLS
1- Creates .ts files on the fly
2- Adds growing files signaling
3- Creates advanced chunklist
1- Simple static files webserver
2- Reads the growing files flag and
uses real time chunked transfer for
those (CDN!)
LHLS: https://medium.com/@periscopecode/introducing-lhls-media-streaming-eb6212948bef
1- Process segment while it is
still being received
R&D: LHLS
LHLS
LATENCY
0.75s
R&D: Edge computing possibilities
~0% HIT
R&D: Edge computing possibilities
~100% HIT
R&D: Edge computing possibilities
Prefetching
ON
Prefetching
OFF
THANK YOU!
Jordi Cenzano | @jordicenzano | jordicenzano

More Related Content

PDF
Frame accurate video client in the browser
PPTX
Live server side ad insertion at scale
PDF
mmsys2019 live streaming at scale
PDF
Building your own simple live streaming platform. Slides form BOS video meetu...
PDF
MazuV-Debug-System
PDF
Sipwise rtpengine
PDF
Super-Charging Kamailio
PDF
BKK16-102 Creating new workload for Workload Automation & using WA with LAVA
Frame accurate video client in the browser
Live server side ad insertion at scale
mmsys2019 live streaming at scale
Building your own simple live streaming platform. Slides form BOS video meetu...
MazuV-Debug-System
Sipwise rtpengine
Super-Charging Kamailio
BKK16-102 Creating new workload for Workload Automation & using WA with LAVA

What's hot (6)

PDF
Build your own low latency live platform
PDF
PLAM 2015 - Evolving Backups Strategy, Devploying pyxbackup
PDF
nginx.conf - globo.com's live video platform for fifa world cup 14
PDF
Disaster porn and the value of a generalist
PDF
ScalaMatrix gpu accelerated video display
PDF
Umit - europython2008
Build your own low latency live platform
PLAM 2015 - Evolving Backups Strategy, Devploying pyxbackup
nginx.conf - globo.com's live video platform for fifa world cup 14
Disaster porn and the value of a generalist
ScalaMatrix gpu accelerated video display
Umit - europython2008
Ad

Similar to Brightcove live tech overview (20)

PPT
Video Conferencing : Fundamentals and Application
PDF
Web player
PDF
Ateme gustavo marra bc day 2012
PPT
Hikvision 6467 dm device
PDF
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
PPT
MPEG4 codec for Access Grid
PPT
MPEG4 codec for Access Grid
PDF
A Japanese Way to Maintain Constant Quality on Streaming Chaotically Supplied...
PDF
Video Streaming
PDF
Bitmovin LIVE Tech Talks: Analytics for Workflow Automation (ft. Touchstream ...
PDF
Bitmovin Low Latency CMAF Presentation_Streaming Media East by Paul MacDougall
PPTX
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
PDF
“Seamless Deployment of Multimedia and Machine Learning Applications at the E...
PDF
Video Compression Standards - History & Introduction
PDF
dat-TrafficManager-for-Vantage
PPTX
Live Transcript Delivery
PPT
Zip Mass-An Revolutionary Video Compression Technology
PPT
Introduction to Transcoding: Tools and Processes
PPTX
A Better Rich Media Experience & Video Analytics at Arkena with Apache Hadoop
PDF
4 camera cctv quotation bangladesh
Video Conferencing : Fundamentals and Application
Web player
Ateme gustavo marra bc day 2012
Hikvision 6467 dm device
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
MPEG4 codec for Access Grid
MPEG4 codec for Access Grid
A Japanese Way to Maintain Constant Quality on Streaming Chaotically Supplied...
Video Streaming
Bitmovin LIVE Tech Talks: Analytics for Workflow Automation (ft. Touchstream ...
Bitmovin Low Latency CMAF Presentation_Streaming Media East by Paul MacDougall
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
“Seamless Deployment of Multimedia and Machine Learning Applications at the E...
Video Compression Standards - History & Introduction
dat-TrafficManager-for-Vantage
Live Transcript Delivery
Zip Mass-An Revolutionary Video Compression Technology
Introduction to Transcoding: Tools and Processes
A Better Rich Media Experience & Video Analytics at Arkena with Apache Hadoop
4 camera cctv quotation bangladesh
Ad

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Cloud computing and distributed systems.
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
cuic standard and advanced reporting.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
MYSQL Presentation for SQL database connectivity
Spectral efficient network and resource selection model in 5G networks
20250228 LYD VKU AI Blended-Learning.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Network Security Unit 5.pdf for BCA BBA.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Cloud computing and distributed systems.
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Building Integrated photovoltaic BIPV_UPV.pdf
Electronic commerce courselecture one. Pdf
Unlocking AI with Model Context Protocol (MCP)
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
NewMind AI Weekly Chronicles - August'25 Week I
cuic standard and advanced reporting.pdf

Brightcove live tech overview

  • 1. Brightcove live Jordi Cenzano | @jordicenzano | jordicenzano Tech overview Director of engineering for live services
  • 2. ● Live streaming? ● Brightcove live block diagram ● Ingest ○ Best practices ● Live clipping ● Delivery ○ Best practices ○ FUTURE: In-manifest redundancy ● SSAI ● Monitoring ● Latency ○ R&D: LHLS ● R&D: Edge computing possibilities (improve hit ratio) Agenda
  • 4. Live streaming? Is it possible to create a POC of a live streaming platform in 5min?
  • 5. Demo simple live streaming -DEMO-
  • 6. What is live streaming? RTMP TS (UDP/TCP/RTP FEC?) SRT Zixi HLS ??? # Renditions Bitrates Resolutions Codecs (profiles / levels) TTL? Pre warm? Token auth? Geoblocked? ??? Chrome Firefox Safari (MacOS) IOS Android? Chromecast …. HLS DASH Smooth
  • 7. What is live streaming? # Renditions Bitrates Resolutions Codecs (profiles / levels) HLS DASH Smooth TTL? Pre warm? Token auth? Geoblocked? ??? Chrome Firefox Safari (MacOS) IOS Android? Chromecast …. RTMP TS (UDP/TCP/RTP FEC?) SRT Zixi HLS ???
  • 10. ● Use job redundancy in different regions ● 10Mbps BW != 10Mbps in RTMP (TCP) ○ Find correct encoding bitrate (*) ● Choose closer region to your encoder (lowest RTT, big impact in TCP throughput) ● Avoid RTMP disconnections ○ Firewalls: Allow persistent TCP ○ Use reliable networks, at least main feed (guaranteed BW if possible) ○ Avoid RTMP “men in the middle” ● Use RTMP log/pass & IP whitelist Ingest: Best practices (*) https://www.switch.ch/network/tools/tcp_throughput/
  • 11. Live clipping ● Clipping methods (API based) ○ Last X seconds of the live stream ○ SMPTE Timecode (Recommended) ○ UTC time (set when we receive the data) ○ Offset from start of stream (NOT recommended) ■ Problems on disconnections ○ Credentials: ■ Ftp, AWS, VC, OAuth
  • 14. In manifest redundancy #EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=200000, RESOLUTION=720x480 http://A.CDN.com/480p/index.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=200000, RESOLUTION=720x480 http://B.CDN.com/480p/index.m3u8 from: https://developer.apple.com/
  • 17. NOT targeted (lineal broadcast) Ads Targeted Client side (player) Server side (SSAI)
  • 19. ● For 1M CCU and 6s TD ● 333K DB transactions /s (in few ms each) ● 1M Adbreak req / 6s = 166K adreq/s ○ Process ads, tracking events ○ Ingest ads media ■ Res., fps, audio level, bitrate, etc ● For adbreak 6 ads and 6 TE / ad ○ 6 * 6 * 1M = 36M TE per adbreak SSAI: Some numbers
  • 21. ● We currently have: ○ 808 defined metrics ○ 165 paging alerts ● Goals: ○ Be proactive ○ Analyze behavior ○ Forensics Monitoring
  • 23. R&D: LHLS 1- Creates .ts files on the fly 2- Adds growing files signaling 3- Creates advanced chunklist 1- Simple static files webserver 2- Reads the growing files flag and uses real time chunked transfer for those (CDN!) LHLS: https://medium.com/@periscopecode/introducing-lhls-media-streaming-eb6212948bef 1- Process segment while it is still being received
  • 25. R&D: Edge computing possibilities ~0% HIT
  • 26. R&D: Edge computing possibilities ~100% HIT
  • 27. R&D: Edge computing possibilities Prefetching ON Prefetching OFF
  • 28. THANK YOU! Jordi Cenzano | @jordicenzano | jordicenzano