A streaming platform with micropayments for Recast
Recast is a streaming platform where a viewer pays for a single stream instead of a subscription. We developed its web applications, live streaming, micropayments and data warehouse.
- Industry
- Media & Entertainment
- Country
- United Kingdom
- Timeline
- 4+ years
- Team
- 2-9 people

Broadcasting on the platform, most of them in sport
Where the content is available
Where we started
Recast needed a team that would build the platform in every layer at once: applications for viewers and publishers, live streaming, payments and data. At the same time the first version had to be split into smaller services without stopping the running platform.
From a video service to a platform with its own payments
- 2020
Recast starts, we join as a two-person frontend team
The first version of the platform is a single PHP application. We start with the web application for viewers.
- 2021
The team grows, the first microservices appear
Login, video and streams, the content catalogue and partner handling move to separate services. The publisher panel is built.
- 2022
The data warehouse and more currencies
The data warehouse and publisher statistics are built. The wallet supports more currencies.
- 2023
Passes and an in-house transcoder
Passes for a whole channel, rental for a set time and presale are introduced. Live streams move to a transcoder built by the team.
- 2024
Payments become a separate product
The wallet and purchase mechanisms become the base of Recast Pay, a payment and access layer for external services. We describe it in a separate case study.
What we delivered
Live streaming
A publisher creates an event in the panel and gets a channel ready for broadcasting, with no involvement from the technical team. They can broadcast from their own equipment, connect a signal from an external source, or broadcast straight from the browser.
Stream management
Scheduled events start automatically. The system watches the signal and closes the stream on its own once the event is over. After it ends, the stream is available as a replay.
Video processing
Recordings and live streams are prepared in several quality levels, so the player can match the picture to the viewer's connection. In 2023 live streams moved from an AWS service to a transcoder built by the team, whose capacity goes up and down with the number of streams.
Content protection
Paid video is encrypted, and the stream link works only for the viewer who bought access. A copied link will not work for someone else. A publisher can limit access to selected countries.
Splitting the monolith
One area after another moved from the first version of the platform to separate services: login, video and streams, the content catalogue, profiles, partners, notifications. The new services ran next to the old application before they took over its work, so the platform had no downtime.
Web applications
The viewer application covers the player, live streams, the wallet, top-ups and buying access, in seven language versions. The publisher panel is used to upload video, set prices and passes, configure streams and view statistics. A separate admin panel handles refunds, payouts and reports.
Micropayments and purchases
A viewer tops up the wallet by card and receives credits. They can also earn them by watching an ad or by referring the platform to a friend. They buy single pieces of content, passes for a whole channel or access for a set number of days, including in presale. Every purchase is split straight away between the publisher, collaborators, the referrer and the platform.
Notifications and live chat
A viewer receives notifications in the application, in the browser and by email. A publisher turns live chat on separately for a channel and for a single stream.
Data warehouse and statistics
Data from the services flows into the data warehouse. Purchases, refunds, publisher earnings and daily summaries are calculated there. In the panel a publisher sees statistics for their own channels only.
The platform at the start and today
How the work was run
We worked with Recast from the launch of the platform. Over a few years it went from one PHP application to a set of services that separately handle streaming, purchases, payments and data.
Scope of work
We worked on the platform in every layer: from the applications in the browser, through the backend services, to the data.
The viewer application, the publisher panel and the admin panel in React and TypeScript.
Automatic channel setup in AWS, an in-house live transcoder, stream keys, event scheduling, signal monitoring and replays.
Video transcoding, DRM encryption, stream access tokens and geographic restrictions.
Moving one area after another from the PHP application to Node.js microservices, with no interruption to the platform.
A wallet with credits, top-ups, price lists, passes, the purchase service and the revenue split.
The data flow from the services to the warehouse and statistics for publishers.
Load tests and modelling of viewer behaviour before major sporting events. Blue/green deployments with a quick way back to the previous version.
Technologies
All members of the Codino team fit seamlessly into our delivery teams, building excellent relationships and always willing to go the extra mile to deliver on our Roadmap in a timely and efficient way. We have built extremely good relationships with them and they feel just like part of the team
Pete WillcoxVP Product, RecastLet's Talk About Your Project
Not sure where to start? Begin with the AI Readiness Audit