<Work in progress>
This document explains how users can evaluate/adopt AAMP for media player applications.
Overview |
AAMP is an open source native video engine that is built on top of GStreamer and optimized for performance, memory use, and
code size. AAMP Reference Player demonstrates how to use the Unified Video Engine (UVE) JavaScript binding APIs to
interact with an AAMP player.
The bindings are made available in JavaScript with the help of the injectedbundle component once the DOM elements are
loaded by WebKit.
This document is targeted to OTT app vendors and HTML5 developers who are interested in evaluating/adopting AAMP for
their media player applications on settops running RDKV based firmware.
co1 | col2 | |
---|---|---|
Minimal Sample Player |
<html><head><title>IP Video Playback in WPE browser using UVE API</title></head> <script> window.onload = function() { var player = new AAMPMediaPlayer(); var url = "https://cpetestutility.stb.r53.xcal.tv/multilang/main.m3u8"; player.load(url); } </script> <body> <div id="videoContainer"> <video style="height:100%; width:100%; position:absolute; bottom:0; left:0"> <source src="dummy.mp4" type=”video/ave”> <!-- hole punching --> </video> </div> </body> </html> |