Specifications
D-8
Cisco Internet Streamer CDS 2.0-2.3 Software Configuration Guide
OL-13493-04
Appendix D Creating and Manipulating Session Shifting Files
Session Manager
STB-MAC = 02:05:05:74:AA:EE, paused, and then continued watching from his PC with LOGIN=bob
from the URL rtsp://cds.com/pirates.pc.mov. The movie restarts from where he last paused it, even
though the URL is different (though it is in the same content set) and the terminal address is different
(though it is in the same BillableEntity).
Stream Session Event
A Stream Session Event specifies a pause or stop time for a particular content and a particular terminal
address. The following is an example of a Stream Session Event:
<?xml version="1.0"?>
<ws:StreamSessionEvent
xmlns="http://www.cisco.com/schemas/VCNBU/SCTE130Impl/2007/R1/ciscowebsvc"
xmlns:ws ="http://www.cisco.com/schemas/VCNBU/SCTE130Impl/2007/R1/ciscowebsvc"
xmlns:core="http://www.scte.org/schemas/130-2/2007/core"
xmlns:adm="http://www.scte.org/schemas/130-3/2007/adm"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.cisco.com/schemas/VCNBU/SCTE130Impl/2007/R1/ciscowebsvc ciscowebsvc.xsd''>
<core:Content>
<core:URI>rtsp://cds.com/pirates.mov</core:URI>
</core:Content>
<adm:NPT scale="1.0">600</adm:NPT>
<adm:Client>
<adm:TerminalAddress type="LOGIN">bob</adm:TerminalAddress>
</adm:Client>
</ws:StreamSessionEvent>
This particular Stream Session Event specifies that the content in URL rtsp://cds.com/pirates.mov was
paused 600 seconds after the start time (10 minutes into the video) by the user with LOGIN=bob.
Session Update
The session last play time information can be updated or looked up from the centralized session manager
through HTTP messages. The creation of the HTTP message itself depends on the client.
For illustrative purposes, the following examples use the wget command, using the file
session_event.xml.
To update a session, use the following wget command:
wget --post-file=session_event.xml http://cds.com/api/services/session_event_mgr/
Note The session_event.xml file has a Stream Session Event as described in the “Stream Session Event”
section.