Difference between revisions of "Pull mode"
(Created) |
(Added Related links) |
||
Line 3: | Line 3: | ||
== Configuration == | == Configuration == | ||
− | A-SMIL players can be configured a "Content Source Server URL" to load at boot time. Typically this is set by connecting a USB keyboard to the player, which brings up a BIOS-like configuration menu for setting the Server URL. | + | A-SMIL players can be configured a "Content Source Server URL" to load at boot time. Typically this is set by connecting a USB keyboard to the player, which brings up a BIOS-like configuration menu for setting the Server URL. Consult your model-specific user's manual on how to configure this Server URL. |
− | + | ||
− | Consult your model-specific user's manual on how to configure this Server URL. | + | |
Upon player boot-up, it accesses this Server URL expecting to find a SMIL file. If it doesn't, the player retries the connection while playing back the latest content available on the player. If a valid SMIL file is found at the Server URL, it is loaded and played. | Upon player boot-up, it accesses this Server URL expecting to find a SMIL file. If it doesn't, the player retries the connection while playing back the latest content available on the player. If a valid SMIL file is found at the Server URL, it is loaded and played. | ||
Line 30: | Line 28: | ||
== Related == | == Related == | ||
− | * Sample [[MediaRSS|Media RSS | + | * Sample [[MediaRSS|Media RSS bridge]] code using pull-mode |
* Sending [[play logs]] back to the server | * Sending [[play logs]] back to the server | ||
+ | * SMIL [[transport]] | ||
+ | * [[SMIL_Connectivity|SMIL connectivity]] |
Latest revision as of 05:33, 29 September 2009
A-SMIL players support having players "pull" the server for SMIL file periodically. This allows players behind NAT firewalls to receive updates via SMIL.
Configuration
A-SMIL players can be configured a "Content Source Server URL" to load at boot time. Typically this is set by connecting a USB keyboard to the player, which brings up a BIOS-like configuration menu for setting the Server URL. Consult your model-specific user's manual on how to configure this Server URL.
Upon player boot-up, it accesses this Server URL expecting to find a SMIL file. If it doesn't, the player retries the connection while playing back the latest content available on the player. If a valid SMIL file is found at the Server URL, it is loaded and played.
Updating the Players
To supply fresh contents to a player, one needs to specify a Refresh meta attribute in the first SMIL file loaded from the server. The syntax is as follows:
<smil> <head> <meta http-equiv="Refresh" content="60" /> </head> ... </smil>
The "content" value of the "Refresh" command is the refresh period in seconds.
See Related link below for an example on using pull-mode to feed a player with fresh Media RSS content.
Related
- Sample Media RSS bridge code using pull-mode
- Sending play logs back to the server
- SMIL transport
- SMIL connectivity