Helix Mobile Server is preconfigured to archive broadcasts to the Archive subdirectory under its main installation directory. You just have to turn the archiving feature on for the "*" rule. However, you may also want to set up different archiving rules. This allows you to archive only some broadcasts. You can also use archiving rules to write archive files to different content directories or other on-demand mount points.
The key to selective archiving is the encoder source path. When you broadcast a live stream, you can define an optional path name through the encoder interface. For example, you might define the following encoder source path along with the stream name live.rm:
news/live.rm
The news/ path does not correspond to an actual directory path on either the encoder or Helix Mobile Server. It's just a virtual name added to the broadcast URL to enable the use of features such as selective archiving rules.
You can set up any number of archiving rules. You might archive only the broadcasts that use certain source path names, for instance. Or you can archive all broadcasts except those that use certain source path names. As well, you can archive all broadcasts, using the source path names only to indicate different archiving locations.
The following tables show possible combinations of using the general archiving rule, "*", along with two selective archiving rules that correspond to news/ and talk/ source paths.
|
Rule |
Setting |
Destination |
Result |
|
* |
Enabled |
/Archive/ |
All broadcasts except those with the news/ and talk/ source paths are archived in the /Archive/ subdirectory. Broadcasts using the news/ source path are archived under the /News/ mount point or subdirectory, whereas those using the talk/ source path are archived under the /Talk/ mount point or subdirectory. |
|
/news |
Enabled |
/News/ |
|
|
/talk |
Enabled |
/Talk/ |
|
|
|
|||
|
Rule |
Setting |
Destination |
Result |
|
* |
Disabled |
(any) |
Only broadcasts using the news/ or talk/ source paths are archived. All archive files are created in the /Archive/ subdirectory. |
|
/news |
Enabled |
/Archive/ |
|
|
/talk |
Enabled |
/Archive/ |
|
|
|
|||
|
Rule |
Setting |
Destination |
Result |
|
* |
Enabled |
/Archive/ |
All broadcasts except those using the talk/ source path are archived. Archive files are created in the /Archive/ subdirectory unless the broadcast uses the news/ source path. In that case, files are archived under the /News/ archive or subdirectory. |
|
/news |
Enabled |
/News/ |
|
|
/talk |
Disabled |
(any) |
|
|
|
|||
Note: When you define a destination such as /News/, Helix Mobile Server first looks for an on-demand mount point with that name. If no such mount point exists, it archives the broadcast in a /News/ subdirectory of the content directory.
When you repeat a broadcast, such as a live news show broadcasted each day, you can use the same stream name and archive each broadcast in the same directory. In this case, Helix Mobile Server automatically renames older archive files by appending a unique number after the file extension.
For example, if the archive file dailynews.rm exists in the archive directory when Helix Mobile Server begins to archive a new dailynews.rm stream, Helix Mobile Server moves the existing archive to a name such as dailynews.rm.86400.
Tip: The appended number is related to a timestamp. Larger numbers indicate newer files.
When you archive a live broadcast that includes multi-rate streams, Helix Mobile Server creates several temporary files that correspond to the different bit rates. It merges these temporary files into the final archived file (or files) when the broadcast finishes.
Warning: The merging time may take longer than the broadcast. Be sure not to stop Helix Mobile Server or delete the temporary files before the merging completes.
An archive file functions just like an on-demand clip. It is easiest to stream the archive from the directory where you saved it, but you can also move it to a different directory and use content caching to replicate archives to other Helix Mobile Servers.
You can stream a broadcast by writing links to it as described in the section "Content Links". You can also include a bookmark to start the stream at a specific point. For example, a Web page link to a RealMedia archive that resides in the default Archive directory may look like this:
http://helixserver.example.com/ramgen/Archive/concert.rm?start=120
Tip: If you saved several archive files for a single broadcast, streaming the entire event requires that you provide a link to each archive. For RealMedia broadcasts, you can list all archive files in order within a single Ram file to stream the entire archived broadcast.
For more information: You can use SLTA to rebroadcast archive files as if they were live events. For more about the SLTA utility, refer to Helix Mobile Systems Integration Guide.