Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

   cd gst-plugins-rdk-aamp
mkdir build
cd build
cmake ../ -DCMAKE_BUILD_TYPE=Debug
make
sudo make install
cd ../../

3. Copy the prebuilt qtdemux library with AAMP patches. Prebuilt qtdemux library is available in tar file attached to this doc - override_libs.tgz

Run the following commands in a new folder
tar -xzf override_libs.tgz

Update the environment variable with the new location so that custom qtdemux plugin will be picked
export GST_PLUGIN_PATH=`pwd`/override-libs:$GST_PLUGIN_PATH

To verify, run gst-inspect-1.0 qtdemux and confirm the Filename value under Plugin Details is same as the override library location

4. optionally create /opt/aamp.cfg – supports local configuration overrides

5. Create /opt/aampcli.cfg with below content for a virtual channel list of assets that could be loaded in aamp-cli

*1 HOSTED_FRAGMP4 https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s-fmp4/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8
*2 HOSTED_HLS http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8
*3 HOSTED_DASH http://cpetestutility.stb.r53.xcal.tv/VideoTestStream/main.mpd

6. Execute binaries

./aamp-cli // for full featured command line interface to aamp
or
./playbintest <url> // to exercise aamp as a plugin