TVSDK sends billing metrics to Adobe in an XML format.
If you use a network capture tool to monitor the statistics TVSDK transmits to Adobe, you should see units like the following:
<?xml version="1.0" encoding="UTF-8"?>
<request>
<sc_xml_ver>1.0</sc_xml_ver>
<reportSuiteID>primesample2</reportSuiteID>
<visitorID>947310128cb56f41</visitorID>
<pageURL>https://. . ..m3u8</pageURL>
<timestamp>2016-4-7T10:1:4</timestamp>
<contextData>
<billingMetrics>
<publisherID>com.adobe.primetime.reference.PrimetimeReference</publisherID>
<contentType>vod</contentType>
<adsEnabled>true</adsEnabled>
<midrollEnabled>true</midrollEnabled>
<platform>Mac OSX 10.11.5</platform>
<tvsdkVersion>2,4,0,1559</tvsdkVersion>
<contentURL>https://. . ..m3u8</contentURL>
</billingMetrics>
</contextData>
</request>
The boolean properties drmProtected
, adsEnabled
, and midrollEnabled
appear only if they are true.