Device Fingerprinting

To help you combat piracy of your content, Senza can display a device-specific watermark on the screen. That way if a copy of your content shows up on the internet, you'll be able to see which device it came from.

To use the device fingerprinting feature, you can call an API that will display a banner with the device ID on every active device in a given tenant. It will be displayed regardless of whether it is showing your web app or streaming a video.

📘

Note

In this screenshot, the resolution and timecode data is part of the video, while the device ID is injected by the device fingerprinting feature. The fingerprint has been styled using the API to match the other text, but is rendered in a completely different way!

Display Fingerprint API

See the Display Fingerprint page in the API Reference for full details on calling the API.

The body of the request should contain these parameters:

  • textColor: Hexadecimal color code for the text color, i.e. #FFFFFFFF
  • backgroundColor: Hexadecimal color code for the background color.
  • position: Position of the fingerprint display on the screen, e.g. bottom-center.
  • duration: Duration in seconds to display the fingerprint on the screen.
  • fontSize: Font size for the fingerprint text.

For example, if you call the API with these parameters, it will display a the fingerprint like in the screenshot above, with 38-point yellow text on a black background.

{
  "textColor":"#EEE450FF",
  "backgroundColor":"#000000FF",	
  "position":"bottom-center",
  "duration":1200,
  "fontSize":38
}

Tutorial

See the Device Fingerprinting tutorial for a code sample.