Answers for "FairPlay Streaming"

0

FairPlay Streaming

<!-- Include Radiant Media Player JavaScript file in your <body> or <head> -->
<script src="https://cdn.radiantmediatechs.com/rmp/6.4.5/js/rmp.min.js"></script>
<!-- Player container element -->
<div id="rmpPlayer"></div>
<!-- Set up player configuration options -->
<script>
var src = { 
  fps: 'https://your-url-to-fps-hls.m3u8' 
};
var settings = {
  licenseKey: 'your-license-key',
  src: src,
  width: 640,
  height: 360,
  contentMetadata: {
    poster: [
      'https://your-poster-url.jpg'
    ]
  },
  // passing FPS DRM settings
  fpsDrm: {
    certificatePath: 'https://your-url-to-server-certificate.cer',
    processSpcPath: 'https://your-url-to-server-processSPC'
  }
};
var elementID = 'rmpPlayer';
var rmp = new RadiantMP(elementID);
rmp.init(settings);
</script>
Posted by: Guest on July-16-2021

Code answers related to "FairPlay Streaming"

Browse Popular Code Answers by Language