Class: ArchiveSession/Play/SRM

Superclasses:

Currently, all code for SRM archival is mediaboard-specific, and resides in the ArchiveSession/Play/Mediaboard class. Eventually, with the new SRMv1, this functionality will be moved to the ArchiveSession/Play/SRM class, where it rightfully belongs.


Class: ArchiveSession/Play/Mediaboard

Superclasses:

Syntax:






 set session [new ArchiveSession/Play/SRM <media> <addr>]

Description:

This class implements the player session object for playing back SRM sessions. It encapsulates the creation and manipulation of SRM session objects and state.

The init method creates a new SRM session, initializes the network and creates a source manager object for the session. Note: This class currently supports only mediaboard sessions.

Methods

create_stream:









Create and return a new mediaboard stream object.

Returns: a mediaboard stream object. The object's class is ArchiveStream/Play/Mediaboard.

attach_stream:









Creates an SRM source object to be associated with this stream. Initializes the user name for this SRM source by appending the string "(recorded)" to the end of the original user name stored in the stream data file.

Returns: nothing

srm_session:









Accessor method to access the SRM session object inside the playback session object.

Returns: The name of the SRM session object associated with this session.

srm_source_mgr:









Accessor method to access the SRM source manager object inside the playback session object.

Returns: The name of the SRM source manager object associated with this session.

Related Objects:

ArchiveSession/Play, ArchiveSession/Play/RTP, ArchiveStream/Play/Mediaboard

Putting it all together