Introduction

RDK-6.0 include buffering support for IP Live video playback. As of now community builds does not include fog support. This document explains how to enable the FOG support in current builds

Dependencies

FOG depends upon the storagemanager service. Storage manager service retrieves the information about all the storage devices present in the device, including SD, EMMC, NVRAM and hard drives. The type of storage device can be specified in device.properties. The following properties are currently used

PropertyDescription

SD_CARD_TSB_PART

SD Card partition for TSB
SD_CARD_MOUNT_PATHMount path for SD Card TSB location
EMMC_CARD_TSB_PARTeMMC TSB partition
EMMC_CARD_MOUNT_PATHMount path for eMMC drive

Testing FOG

Fog request mount path to storage manager and checks for the at-least 1GB of free space for TSB to be enabled. In our test environment, we patched storage manager to return a predefined path. We also patched the fog to use a predefined location to check against free space.

Once FOG and storagemanager were up and running, we used aamp-cli to test using encoded URL. The following URL was used

https://cph-p2p-msl.akamaized.net/hls/live/2000341/test/master.m3u8 (HLS)

In the encoded form, it looks like this

http://127.0.0.1:9080/tsb?clientId=FOG_AAMP&recordedUrl=https%3A%2F%2Fcph-p2p-msl.akamaized.net%2Fhls%2Flive%2F2000341%2Ftest%2Fmaster.m3u8

Reference

FOG Documentation