What middleware handles
| Job | What it means for you |
|---|---|
| Accounts and subscriptions | Whether your login is active, when it expires, and whether it’s a trial |
| Connection limits | How many streams you can play at once |
| Channel lists and categories | Which channels you see, in which groups and order |
| The programme guide (EPG) | Which listings go with which channel |
| On-demand catalogue | The films and series lists, with posters and descriptions |
| Devices and access | Which apps, boxes or addresses may connect |
The streams themselves come from separate streaming servers. See what is an IPTV server.
Three login styles, three kinds of middleware
M3U playlist
The simplest: a single link to a text file listing channels and their stream addresses, sometimes with guide IDs and catch-up details. There’s no account screen in the app; the middleware’s work happens when it builds the file. See what is an M3U playlist.
Xtream Codes API
A username, password and server address. The app asks the server’s API for account information, channel and category lists, the guide and the on-demand catalogue. Open-source documentation of the reply shows account fields such as status, exp_date (expiry), is_trial, max_connections and active_cons, and the output formats the account may use. That’s why Xtream logins can show your expiry date and connection count. See Xtream Codes explained.
Xtream Codes began as a commercial panel. Its servers were taken offline in a September 2019 police operation, but the API format lives on in many players and server products.
MAC portal (Stalker or Ministra)
A portal address entered on the device, with the device recognised by its MAC address. It comes from Infomir’s set-top box middleware, Stalker Middleware, later the Ministra TV platform. MAG boxes and apps that imitate them use it. See Stalker portals explained and MAG box portal setup.
Why it matters when things go wrong
- “Account expired” or connection limits come from the middleware, not the stream. See account expired and too many connections.
- Channels or guide missing can be a middleware list problem: refresh the playlist before blaming the streams.
- Everything fails at once usually means the middleware or server is unreachable. See server unavailable.
