Appearance
Tune detection
Bitstream gives every line two scores from 0 to 100 once a minute: one for restreaming and one for VOD theft. Each sign adds points when it goes past your limit. This guide shows how to change the limits and what happens at each score.
Open Logs > Settings > Detection.
What happens at each score
Both detections share the same actions:
| Setting | Default | What it does |
|---|---|---|
| Notify at | 60 | The line shows up as flagged, and admins get a notification. |
| Mark at | 80 | The line is marked as a likely abuser. |
| Disable automatically | off | Turn the line off when it stays at or above Mark at. |
| After hours | 6 | How long the score must stay high before the line is turned off. |
Start with automatic disabling off. Watch the flagged lines for a week, clear the false ones, and turn it on only when you trust the scores.
Lines marked as restreamers on the line page, and lines you Allow, are never flagged.
Restream signs
| Sign | Points | Default limit |
|---|---|---|
| The player is a server tool (ffmpeg, VLC library, curl, wget, scripts) | 25 | |
| The IP belongs to a datacenter or hosting company | 25 | |
| One channel watched almost all day | 20 | 20 hours in 24 |
| Many live channels at the same time | 20 | 3 |
| Many different IPs | 10 | 5 in 24 hours |
| Very long sessions on average | 10 | 4 hours |
| HLS pulled by a server tool | 10 | |
| IPs shared with other lines | 15 |
A family that watches TV in the evening on two phones scores close to 0. An ffmpeg box in a datacenter that pulls five channels day and night scores 90 or more.
VOD theft signs
These work with direct source too. With direct source the movie file comes from your source, not from your nodes. But every play still goes through the panel first, and the panel answers with the source address. Bitstream logs that moment: the line, the movie, the IP, the player, and whether it asked for a byte range. It also logs the player API calls that list and describe movies.
| Sign | Points | Default limit |
|---|---|---|
| Many different titles in one hour | 25 | 20 |
| Many different titles in 24 hours | 15 | 60 |
| Titles opened in id order | 25 | 10 in a row |
| Titles opened very fast one after another | 15 | 30 seconds apart |
| Many movie and series info calls | 15 | 100 in one hour |
| Many full movie or series lists | 15 | 20 in 24 hours |
| Many different IPs opening movies | 10 | 4 in 24 hours |
| A download tool (curl, wget, aria2, yt-dlp and more) | 30 | |
| A datacenter IP | 15 | |
| Many connections to one title at the same time (parallel parts) | 20 | 4 at once. Fast seeking in a player does not count. |
| A very fast and large transfer (movies sent by your nodes only) | 20 | 500 MB at 20 Mbit/s |
Seeking in a movie opens it again with a new byte range. Bitstream counts titles, not opens, so seeking never adds points.
Stop a downloader
- VOD opens per hour caps how many different movies and episodes one line can open in an hour. Above it, the player gets "too many requests" for a few minutes. 0 turns it off. 30 is a safe start: nobody watches 30 movies in an hour.
- Signed source links make the direct source address expire. Add a rule for your source host with the HMAC template your CDN uses, or with S3 presigning. A copied link then stops working after the time you set.
- If theft goes on, turn off direct source for that category. Movies then go through your nodes, and the fast transfer sign starts to work too.
Datacenter list
Bitstream knows the big cloud and hosting companies by their network number (ASN). Add more in Hosting ASNs. The ASN of an IP comes from your GeoIP database, see IP location.
Check a change
After you change a limit, open the detection list and sort by score. The next pass runs within a minute. Open a few lines and read the evidence. Check that the new limit catches what you want and nothing more.