MU
MUHAMMAD USMANSOFTWARE ENGINEER • FLUTTER & AI
Saving Grace MediaLead Mobile Media Engineer2024
SGTV Media Streaming
High-Throughput VOD & Live Media Streaming Network
Video Uptime99.98%
Stream FormatHLS / DRM
PlatformsiOS & Android
Daily Streams25k+
THE ENGINEERING CHALLENGE
Users on variable mobile connections experienced buffering and broken video sessions during high-volume live broadcast events.
THE ARCHITECTURAL SOLUTION
Constructed an adaptive bitrate (ABR) player with custom ExoPlayer (Android) and AVPlayer (iOS) wrappers in Flutter, integrating AES-128 DRM decryption and background chunk caching.
SYSTEM ARCHITECTURE & DATA FLOW
Adaptive Bitrate Media Pipeline
Multi-CDN video ingest pipeline supporting seamless DRM playback across mobile and tablet form factors.
01 // STAGEFlutter Video UI & Custom Player Controls
02 // STAGENative Platform Channels (ExoPlayer / AVPlayer)
03 // STAGEHLS Stream Manifest & DRM Token Exchange
04 // STAGEAdaptive Bitrate Segment Ingest
05 // STAGEOffline Encrypted Cache Storage
KEY ENGINEERING HIGHLIGHTS & SOLVED BOTTLENECKS
Picture-in-Picture & Background Audio Support
Wrote native Swift and Kotlin plugins to enable smooth OS-level PiP transitions without restarting the video decoders.
Swift • Kotlin • Flutter Platform Channels
Custom Stories & Ephemeral Media
Engineered WhatsApp-style ephemeral video stories with sub-second preloading and swipe gestures.
Flutter Bloc • Firebase • Cache Manager
TECHNOLOGY STACK & INFRASTRUCTURE
FlutterBlocExoPlayer / AVPlayerHLS StreamingFirebaseAWS CloudFront