Difference between revisions of "Player information"

From A-SMIL.org
Jump to: navigation, search
(Created)
 
(Related)
Line 61: Line 61:
 
* [[Play logs]]
 
* [[Play logs]]
 
* [[Player events]]
 
* [[Player events]]
* [[Maintenance task and reporting]]
 

Revision as of 08:35, 16 December 2009

On bott up, A-SMIL players can report information about a player, including

  • Player UUID
  • Player name
  • Manufacturer
  • Model
  • Video format
  • Boot-up time

Designating a URL for Reporting

In your SMIL script, you need to add a section to your head section to define where the media player should upload its logs. For player information reporting it should looks like this.

<head>
  <metadata>
    <server xmlns="http://schemas.adfotain.org/adapi-1.0">
      <subscriptionList>
        <subscription>
          <type>PlayerInfoReport</type>
          <action>http://server/webdav_path</action>
          <method>put</method> 
        </subscription>
      </subscriptionList>
    </server>
  </metadata>
</head>

Here "http://server/webdav_path" is the path to the WebDAV-enabled direction on your log server.

Event Report Format

The A-SMIL player information report looks like this.

<report xmlns="http://schemas.adfotain.org/adapi-1.0">
   <date>{createDate}</date>
   <version>1.0</version>
   <player id="{playerId}" multi-channel="true">
     <name>{playerName}</name>
     <playerInfo>
       <manufacturer id="company_manufacturer">
         <name>{manufacturer}</name>
         <companyURL>{manufacturerURL}</companyURL>
       </manufacturer>
       <model>{modelDescription}</model>
       <displayDeviceCount>1</displayDeviceCount>
       <displayDevice id="display:0">
         <format>{video_format}</format>
       </displayDevice>
       ...
       <systemStartTime>{system-start-time}</systemStartTime>
    </playerInfo>
  </player>
</report>

Related