set session [new ArchiveSession/Play <media> <addr>]
The ArchiveSession/Play class provides a shell for implementing session classes for RTP and SRM playback session classes.
Note: This is an abstract base class. Do not create objects directly of this class
create_stream:
Pure virtual method to create a session-specific media-stream object. Each subclass of this class must define its own create_stream method.
Returns: an object subclassed from ArchiveStream.
attach_stream:
Pure virtual method to attach a newly created stream to the session. This allows the programmer to perform initialization of the stream object after the call to create_stream and before it is attached to the session.
Returns: nothing
media:
1. set m [$session media]
or 2. $session media $m
Set or query the media associated with this session. Please note that the media is automatically set by the init method of this class. Programmers should not invoke this method directly to set the media.
Returns: In syntax (1), it returns a string that represents the media associated with this session. In syntax (2), the return value is undefined.
Currently, there are no observable events defined for this class.
ArchiveSession/Play/SRM, ArchiveSession/Play/RTP, ArchiveStream