Using Extended AVPlayer
The Flower SDK provides the FlowerAVPlayer wrapper class for services using AVPlayer to insert ads. This maintains compatibility with existing AVPlayer while enabling ad integration with minimal changes.
Manual Player Control
This guide walks you through the complete process of inserting ads into linear TV channels and FAST streams using the Flower SDK. Ad integration follows these steps:
Direct Ad Playback Control
Even when implementing channel replacement ads without utilizing the playlist manipulation features provided by the Flower SDK, you can still integrate ads by using the SDK's linear TV live channel ad request functionality. In this case, ad integration follows these steps:
Screen Casting To TV
When inserting replacement ads into linear TV streams on iOS, the Flower SDK runs an internal Proxy Server that rewrites the original manifest (m3u8/mpd) on the fly. As a result, the URL returned by changeChannelUrl() is a loopback address that points to this in-app Proxy Server, not the original CDN.