Player information
From A-SMIL.org
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> <x-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> </x-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>