User Tools

Site Tools


en:biss

BISS

Description of object methods of JS API for using BISS encryption.

Methods of object TvipStb:

void enableCas(String type, Object options)

Initialization function of CAS (Conditional Access System) for decode encrypted content .

type - type of Conditional Access System; options - additional parameters for initialize of conditional access system.

Additional types of conditional access system:

“custom_biss”

BISS (Basic Interoperable Scrambling System) - Conditional Access System, developed by the European Broadcasting Union (EBU) and a consortium of producers equipment for satellite communication channels. On the transmitting side, content encrypted using the secret key, and decoded in the receiver using the same key. The key length is sixteen digits in hexadecimal number system. .

Additional parameters:

key - allow directly setup key value. The parameter value is a key, consisting of sixteen digits in hexadecimal notation. Example:

TvipStb.enableCas("custom_biss", {"key": "1234567890123456"});

url - sets the HTTP URL at which the system will receive the key from remote server. The request method used is POST. The server should return a string representing a hexadecimal number (16 characters). This the way to get the key has a lower priority than the key set directly using the parameter key. Example:

TvipStb.enableCas("custom_biss", {"url": "http://some.server/key/"});

Example of application:

<!DOCTYPE html>
<html>
<head>
  <title></title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <script type="text/javascript">
    window.onload = init;
    function init () {
      window.TvipStb.enableCas("custom_biss", {"url": "http://some.server/get_key.php?addr=udp://226.1.1.1:1234"});
      window.TvipPlayer.setVideoWindow(200, 200, 640, 480, false);
      window.TvipPlayer.playUrl("udp://226.1.1.1:1234", "live");
    }
  </script>
</head>
<body>
...
</body>
</html>
en/biss.txt · Last modified: 2021/03/17 17:43 by Виталий Журавлев