Cisco Cisco MediaSense Release 9.0(1) 开发者指南

下载
页码 136
tags
Output. JSON Array of tag objects. Each object includes information on the
tagName, tagType, tagCreateDate, and tagOffset parameters. The tag
parameter has a maximum of 255 characters.
tagCreateDate
Output integer. The number of milliseconds since Jan 1, 1970 GMT when this
tag was created.
tagName 
Output string. The name that is used to label a recording. Not case sensitive. 
If tagtype = SYSTEM_DEFINED, then the enumeration values for tagName are
as follows: 
If the tag is at the session level:
Pause
Resume
If the tag is at the track level:
TrackActive
TrackInactive
tagNameRegEx 
Optional input string. A Java regular expression which only applies to tag
events. This string is additive, that is, Cisco MediaSense only sends a tagEvent
to the subscriber when the event matches the actions that are requested by the
subscriber and when the tagName matches the subscriber's optional regular
expression specified by this parameter. 
See 
 for more
information on Java regular expressions.
tagOffset
Optional input integer for 
 Output integer for all other
APIs/Events in the list. The number of milliseconds from the start of session for
this tag.  This offset is calculated from the start of the session or track
(regardless of the tag being present at the track level or the session level).
Cisco MediaSense does not allow the use of tagOffset = 0 (zero value) for a
USER_DEFINED time-bound tag. When using a time-bound tag to start a
recording, use a tagOffset equal to at least one millisecond.
 
37