Class: SDPTime
Syntax:
set p [new SDPTime]
Description:
The SDPTime class contains state associated with a single SDP time record in an SDP message. This class is generally used in conjunction with the SDPParser.
Methods
have_field $field
returns 0 or 1 depending on whether field $field was present in the announcement, e.g., 't', 'r', etc.
field_value $field
returns the value of the field $field, empty if it doesn't exist.
Exported Instance Variables
Each SDPTime object contains instance variables for the various values in the SDP fields which can then be queried. The following is the breakdown as would appear in the announcement.
Each SDPTime object contains the following instance variables (if defined):
t=starttime_ endtime_
r=repeat_interval_ active_duration_ offlist_
Related Objects
SDPParser, SDPMessage, SDPMedia,